rustfmt_
nightly
1.89.0-nightly
(99e7c15e8 2025-06-01)
In rustfmt_
nightly::
utils
rustfmt_nightly
::
utils
Function
first_line_width
Copy item path
Source
pub(crate) fn first_line_width(s: &
str
) ->
usize
Expand description
The width of the first line in s.