Преглед изворни кода

Remove outdated, now incorrect, comment

Isaac Woods пре 2 година
родитељ
комит
d9a4d3e084
1 измењених фајлова са 0 додато и 2 уклоњено
  1. 0 2
      aml/src/name_object.rs

+ 0 - 2
aml/src/name_object.rs

@@ -200,8 +200,6 @@ impl NameSeg {
         Ok(NameSeg(seg))
     }
 
-    /// Turn a `NameSeg` into a `&str`. Returns it in a `ParseResult` so it's easy to use from
-    /// inside parsers.
     pub fn as_str(&self) -> &str {
         /*
          * This is safe, because we always check that all the bytes are valid ASCII, so every