rustc_
ast_
pretty
1.86.0-beta.7
(7824ede68 2025-03-22)
In rustc_
ast_
pretty::
pprust::
state
Modules
expr
fixup
item
Structs
Comments
NoAnn
State
Enums
AnnNode
MacHeader
Constants
INDENT_UNIT
Traits
PpAnn
PrintState
Functions
all_whitespace
binop_to_string
doc_comment_to_string
gather_comments
literal_to_string
print_crate
space_between
split_block_comment_into_lines
trim_whitespace_prefix
rustc_ast_pretty
::
pprust
::
state
Function
trim_whitespace_prefix
Copy item path
Settings
Help
Summary
Source
fn trim_whitespace_prefix(s: &
str
, col:
CharPos
) -> &
str