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 @@ -956,12 +956,12 @@ impl Json {
956
956
}
957
957
}
958
958
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.
960
960
pub fn is_array < ' a > ( & ' a self ) -> bool {
961
961
self . as_array ( ) . is_some ( )
962
962
}
963
963
964
- /// If the Json value is a Array, returns the associated vector.
964
+ /// If the Json value is an Array, returns the associated vector.
965
965
/// Returns None otherwise.
966
966
pub fn as_array < ' a > ( & ' a self ) -> Option < & ' a JsonArray > {
967
967
match self {
@@ -1109,9 +1109,9 @@ pub enum JsonEvent {
1109
1109
1110
1110
#[ deriving( PartialEq , Show ) ]
1111
1111
enum ParserState {
1112
- // Parse a value in a array, true means first element.
1112
+ // Parse a value in an array, true means first element.
1113
1113
ParseArray ( bool ) ,
1114
- // Parse ',' or ']' after an element in a array.
1114
+ // Parse ',' or ']' after an element in an array.
1115
1115
ParseArrayComma ,
1116
1116
// Parse a key:value in an object, true means first element.
1117
1117
ParseObject ( bool ) ,
You can’t perform that action at this time.
0 commit comments