trim_whitespace_prefix
rustc_
ast_
pretty
1.92.0-nightly
(f6092f224 2025-09-22)
In rustc_
ast_
pretty::
pprust::
state
rustc_ast_pretty
::
pprust
::
state
Function
trim_
whitespace_
prefix
Copy item path
Source
fn trim_whitespace_prefix(s: &
str
, col:
CharPos
) -> &
str