diff options
| author | Luqman Aden <laden@csclub.uwaterloo.ca> | 2013-02-15 02:30:30 -0500 |
|---|---|---|
| committer | Luqman Aden <laden@mozilla.com> | 2013-02-15 02:49:54 -0800 |
| commit | 4cf51c2531bf754d5eaddaf7c5798b983d399751 (patch) | |
| tree | 173c719a03882b7a83a0beb6005cbc2126efce9e /src/libstd/ebml.rs | |
| parent | 9727008ed0772fc325e0822e74b429e4e7c09af0 (diff) | |
| download | rust-4cf51c2531bf754d5eaddaf7c5798b983d399751.tar.gz rust-4cf51c2531bf754d5eaddaf7c5798b983d399751.zip | |
libstd: Get rid of `move`.
Diffstat (limited to 'src/libstd/ebml.rs')
| -rw-r--r-- | src/libstd/ebml.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/ebml.rs b/src/libstd/ebml.rs index f691dfe6a62..600ff333831 100644 --- a/src/libstd/ebml.rs +++ b/src/libstd/ebml.rs @@ -259,7 +259,7 @@ pub mod reader { r_doc } - fn push_doc<T>(d: Doc, f: fn() -> T) -> T{ + fn push_doc<T>(d: Doc, f: fn() -> T) -> T { let old_parent = self.parent; let old_pos = self.pos; self.parent = d; @@ -267,7 +267,7 @@ pub mod reader { let r = f(); self.parent = old_parent; self.pos = old_pos; - move r + r } fn _next_uint(exp_tag: EbmlEncoderTag) -> uint { |
