rustfmt_
nightly
1.90.0-nightly
(35f603652 2025-06-29)
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.