hive-c0re: drop stale 'question' example from check_size doc

This commit is contained in:
damocles 2026-08-30 03:26:09 +02:00 committed by mara
commit 63c7c4ae2c
2 changed files with 12 additions and 6 deletions

View file

@ -26,8 +26,8 @@ pub const MESSAGE_MAX_BYTES: usize = 4096;
/// `Response::Err`) on failure.
///
/// `label` shows up in the error message verbatim — pass a short
/// noun like `"send"`, `"question"`, `"broadcast"` so the model can
/// tell which call got rejected.
/// noun like `"send"` or `"broadcast"` so the model can tell which
/// call got rejected.
pub fn check_size(label: &str, body: &str) -> Result<(), String> {
if body.len() > MESSAGE_MAX_BYTES {
Err(format!(