Parcourir la source

[master] update the doc for MasterToken::StringRegion to match the latest code.

the removed part was obsolete due to a later change (which is described
in the next paragraph of the doc).  keeping the sentence will just
confuse readers.

should be trivial enough, so I'm committing this at my discretion.
JINMEI Tatuya il y a 12 ans
Parent
commit
c405fba738
1 fichiers modifiés avec 1 ajouts et 2 suppressions
  1. 1 2
      src/lib/dns/master_lexer.h

+ 1 - 2
src/lib/dns/master_lexer.h

@@ -87,8 +87,7 @@ public:
     ///
     ///
     /// Any character can be stored in the valid range of the region.
     /// Any character can be stored in the valid range of the region.
     /// In particular, there can be a nul character (\0) in the middle of
     /// In particular, there can be a nul character (\0) in the middle of
-    /// the region.  On the other hand, it is not ensured that the string
-    /// is nul-terminated.  So the usual string manipulation API may not work
+    /// the region.  So the usual string manipulation API may not work
     /// as expected.
     /// as expected.
     ///
     ///
     /// The `MasterLexer` implementation ensures that there are at least
     /// The `MasterLexer` implementation ensures that there are at least