diff options
| author | Edward Barnard | 2017-01-07 11:18:02 +0000 |
|---|---|---|
| committer | Edward Barnard | 2017-02-02 20:29:57 +0000 |
| commit | e0c687aa4dfa8a27982037efdf8692b39b7b9c97 (patch) | |
| tree | 4f9089fc4c9f77d39e074fc43154fc02a942875b /src/binary | |
| parent | cca66f01d6e5d0ef944012bbe52dd65960b3a982 (diff) | |
| download | rust-plist-e0c687aa4dfa8a27982037efdf8692b39b7b9c97.tar.bz2 | |
Run rustfmt.
Diffstat (limited to 'src/binary')
| -rw-r--r-- | src/binary/reader.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/binary/reader.rs b/src/binary/reader.rs index 5b26777..56bb587 100644 --- a/src/binary/reader.rs +++ b/src/binary/reader.rs @@ -346,7 +346,11 @@ mod tests { assert_eq!(events[2], StringValue("\u{2605} or better".to_owned())); - let poem = if let StringValue(ref mut poem) = events[4] { poem } else { panic!("not a string") }; + let poem = if let StringValue(ref mut poem) = events[4] { + poem + } else { + panic!("not a string") + }; assert_eq!(poem.len(), 643); assert_eq!(poem.pop().unwrap(), '\u{2605}'); } |
