diff options
| author | Erick Tryzelaar <erick.tryzelaar@gmail.com> | 2012-10-18 09:04:47 -0700 |
|---|---|---|
| committer | Erick Tryzelaar <erick.tryzelaar@gmail.com> | 2012-10-18 09:04:47 -0700 |
| commit | b18a15171bfbcde81c44967a865214389d6fd7ad (patch) | |
| tree | 12c6131f3076d1848a6a1edcd3627fce1fe617d1 /src/libcore/dvec.rs | |
| parent | 4e03ffdb6547d9541de84b61d7798b497235472b (diff) | |
Make with_bytes_reader/with_bytes_writer pure
Diffstat (limited to 'src/libcore/dvec.rs')
| -rw-r--r-- | src/libcore/dvec.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/dvec.rs b/src/libcore/dvec.rs index 1540eb30fe5..1b6a7522864 100644 --- a/src/libcore/dvec.rs +++ b/src/libcore/dvec.rs @@ -56,7 +56,7 @@ pub enum DVec<A> { } /// Creates a new, empty dvec -pub fn DVec<A>() -> DVec<A> { +pub pure fn DVec<A>() -> DVec<A> { DVec_({mut data: ~[]}) } |
