aboutsummaryrefslogtreecommitdiffstats
path: root/src/binary/reader.rs
diff options
context:
space:
mode:
authorEdward Barnard2017-01-07 11:18:02 +0000
committerEdward Barnard2017-02-02 20:29:57 +0000
commite0c687aa4dfa8a27982037efdf8692b39b7b9c97 (patch)
tree4f9089fc4c9f77d39e074fc43154fc02a942875b /src/binary/reader.rs
parentcca66f01d6e5d0ef944012bbe52dd65960b3a982 (diff)
downloadrust-plist-e0c687aa4dfa8a27982037efdf8692b39b7b9c97.tar.bz2
Run rustfmt.
Diffstat (limited to 'src/binary/reader.rs')
-rw-r--r--src/binary/reader.rs6
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}');
}