File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -710,6 +710,10 @@ impl<'a> BytesCData<'a> {
710
710
711
711
/// Creates an iterator of `BytesCData` from a string.
712
712
///
713
+ /// If a string contains `]]>`, it needs to be split into multiple `CDATA`
714
+ /// sections, splitting the `]]` and `>` characters. This iterator yields
715
+ /// a `BytesCData` instance for each of those sections.
716
+ ///
713
717
/// # Examples
714
718
///
715
719
/// ```
@@ -874,10 +878,6 @@ impl<'a> arbitrary::Arbitrary<'a> for BytesCData<'a> {
874
878
/// Iterator over `CDATA` sections in a string.
875
879
///
876
880
/// This iterator is created by the [`BytesCData::escaped`] method.
877
- ///
878
- /// If a string contains `]]>`, it needs to be split into multiple `CDATA`
879
- /// sections, splitting the `]]` and `>` characters. This iterator yields
880
- /// each of those sections.
881
881
#[ derive( Clone , Debug ) ]
882
882
pub struct CDataIterator < ' a > {
883
883
content : & ' a str ,
You can’t perform that action at this time.
0 commit comments