Explorar el Código

Remove outdated, now incorrect, comment

Isaac Woods hace 2 años
padre
commit
d9a4d3e084
Se han modificado 1 ficheros con 0 adiciones y 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