Skip to main content

wrap_width

Function wrap_width 

Source
pub fn wrap_width(source: &str) -> usize
Expand description

The absolute wrap column for source: clamp(longest line, 80, 100). The ceiling stops a wide file yielding 200-char comment lines; the floor keeps a flat .env from wrapping prose to its 9-char keys.