diff options
| author | Jihyun Yu <jihyun@nclab.kaist.ac.kr> | 2013-03-02 12:57:05 +0900 |
|---|---|---|
| committer | Jihyun Yu <jihyun@nclab.kaist.ac.kr> | 2013-03-02 12:57:05 +0900 |
| commit | 95bc9ea26df56b29f74583317ab080fdc7b99757 (patch) | |
| tree | 5bc88308814e2b0013f886efa2deaa7b56c5c8e5 /src/libstd | |
| parent | 0fd1b58f236b4fe653d164836e94feebb2972931 (diff) | |
| download | rust-95bc9ea26df56b29f74583317ab080fdc7b99757.tar.gz rust-95bc9ea26df56b29f74583317ab080fdc7b99757.zip | |
Remove REC, change related tests/docs
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/ebml.rs | 4 | ||||
| -rw-r--r-- | src/libstd/sync.rs | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/libstd/ebml.rs b/src/libstd/ebml.rs index 7d04f676079..cbe0580a609 100644 --- a/src/libstd/ebml.rs +++ b/src/libstd/ebml.rs @@ -1,4 +1,4 @@ -// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // @@ -219,7 +219,7 @@ pub mod reader { } pub fn Decoder(d: Doc) -> Decoder { - Decoder { mut parent: d, mut pos: d.start } + Decoder { parent: d, pos: d.start } } priv impl Decoder { diff --git a/src/libstd/sync.rs b/src/libstd/sync.rs index 39d3fd569a6..51ff69da98d 100644 --- a/src/libstd/sync.rs +++ b/src/libstd/sync.rs @@ -1,4 +1,4 @@ -// Copyright 2012 The Rust Project Developers. See the COPYRIGHT +// Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // @@ -87,7 +87,7 @@ enum Sem<Q> = Exclusive<SemInner<Q>>; #[doc(hidden)] fn new_sem<Q:Owned>(count: int, q: Q) -> Sem<Q> { Sem(exclusive(SemInner { - mut count: count, waiters: new_waitqueue(), blocked: q })) + count: count, waiters: new_waitqueue(), blocked: q })) } #[doc(hidden)] fn new_sem_and_signal(count: int, num_condvars: uint) |
