File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
branches/auto/src/libserialize Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
10
10
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
11
11
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
12
12
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
13
- refs/heads/auto: d8a5242195c7e8734c6726494e9b230916b61783
13
+ refs/heads/auto: ef5acff0db6ad7660e46e42f3acac4034df51723
14
14
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
15
15
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
16
16
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336
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