diff options
author | Alex Crichton <alex@alexcrichton.com> | 2015-01-01 08:48:47 -0800 |
---|---|---|
committer | Alex Crichton <alex@alexcrichton.com> | 2015-01-01 08:48:47 -0800 |
commit | 2557fc9ab98fd4ee4c894b05f1eda903773c4558 (patch) | |
tree | 0ceab0af51e5a1cf646d1ae0a1a31eed91e87c08 /src/parser.rs | |
parent | 31ee496621384f9c6d670c32d576411cfcc79bc1 (diff) | |
download | milf-rs-2557fc9ab98fd4ee4c894b05f1eda903773c4558.tar.gz milf-rs-2557fc9ab98fd4ee4c894b05f1eda903773c4558.zip |
Update to rust master
Diffstat (limited to 'src/parser.rs')
-rw-r--r-- | src/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.rs b/src/parser.rs index 00eafc3..f49435e 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -741,7 +741,7 @@ impl<'a> Parser<'a> { } match *into.get_mut(&key).unwrap() { Array(ref mut vec) => { - match vec.as_slice().head() { + match vec.as_slice().first() { Some(ref v) if !v.same_type(&value) => { self.errors.push(ParserError { lo: key_lo, |