File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -956,12 +956,12 @@ impl Json {
956956 }
957957 }
958958
959- /// Returns true if the Json value is a Array. Returns false otherwise.
959+ /// Returns true if the Json value is an Array. Returns false otherwise.
960960 pub fn is_array < ' a > ( & ' a self ) -> bool {
961961 self . as_array ( ) . is_some ( )
962962 }
963963
964- /// If the Json value is a Array, returns the associated vector.
964+ /// If the Json value is an Array, returns the associated vector.
965965 /// Returns None otherwise.
966966 pub fn as_array < ' a > ( & ' a self ) -> Option < & ' a JsonArray > {
967967 match self {
@@ -1109,9 +1109,9 @@ pub enum JsonEvent {
11091109
11101110#[ deriving( PartialEq , Show ) ]
11111111enum ParserState {
1112- // Parse a value in a array, true means first element.
1112+ // Parse a value in an array, true means first element.
11131113 ParseArray ( bool ) ,
1114- // Parse ',' or ']' after an element in a array.
1114+ // Parse ',' or ']' after an element in an array.
11151115 ParseArrayComma ,
11161116 // Parse a key:value in an object, true means first element.
11171117 ParseObject ( bool ) ,
You can’t perform that action at this time.
0 commit comments