rustfmt_
nightly
1.88.0-beta.4
(95597e848 2025-05-25)
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.