Modulesยง
- comment ๐
- Modified from
rustc_ast::util::comments.
Structsยง
Functionsยง
- all_
whitespace ๐ - Returns
Noneif the firstcolchars ofscontain a non-whitespace char. Otherwise returnsSome(k)wherekis first char offset after that leading whitespace. Note thatkmay be outside bounds ofs. - gather_
comments ๐ - line_
begin_ ๐pos - Returns the
BytePosof the beginning of the current line. - split_
block_ ๐comment_ into_ lines - trim_
whitespace_ ๐prefix