rustfmt_nightly::utils

Function last_line_used_width

source
pub(crate) fn last_line_used_width(s: &str, offset: usize) -> usize
Expand description

The total used width of the last line.