diff --git a/src/nodes/from_str.rs b/src/nodes/from_str.rs index dac434c..14e4c9a 100644 --- a/src/nodes/from_str.rs +++ b/src/nodes/from_str.rs @@ -79,11 +79,12 @@ impl FromStr for Nodes { } /// A function to check if the given `char` should be used by the parser. /// - /// We ignore whitespace since it has no semantic significance in typst aside from variables, - /// (which are not implemented) + /// We ignore whitespace since it has no semantic significance in typst + /// (aside from variables, which are not implemented) /// and `&` because it is only used for visual alignment. /// - /// Newlines are also ignored because they're likely accidental; like in the case of `echo 1+1 | tylc`. + /// Newlines are also ignored because they're likely accidental; + /// like in the case of `echo 1+1 | tylc`. fn is_not_ignored_char(c: &char) -> bool { !matches!(c, ' ' | '&' | '\n') }