Settings
Help

Module comments

Module comments 

Source

ModulesΒ§

comment πŸ”’
Modified from rustc_ast::util::comments.

StructsΒ§

Comments

FunctionsΒ§

all_whitespace πŸ”’
Returns None if the first col chars of s contain a non-whitespace char. Otherwise returns Some(k) where k is first char offset after that leading whitespace. Note that k may be outside bounds of s.
gather_comments πŸ”’
line_begin_pos πŸ”’
Returns the BytePos of the beginning of the current line.
split_block_comment_into_lines πŸ”’
trim_whitespace_prefix πŸ”’