Explorar o código

Remove outdated, now incorrect, comment

Isaac Woods %!s(int64=2) %!d(string=hai) anos
pai
achega
d9a4d3e084
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  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