excerpt

Function excerpt 

Source
pub fn excerpt(bytes: &[u8]) -> String
Expand description

2026-09-25: At most BODY_EXCERPT bytes of bytes, lossily decoded, trimmed, and never split inside a character.