diff options
Diffstat (limited to 'src/librustc_data_structures/veccell/mod.rs')
| -rw-r--r-- | src/librustc_data_structures/veccell/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_data_structures/veccell/mod.rs b/src/librustc_data_structures/veccell/mod.rs index 008642d9d65..054eee8829a 100644 --- a/src/librustc_data_structures/veccell/mod.rs +++ b/src/librustc_data_structures/veccell/mod.rs @@ -12,11 +12,11 @@ use std::cell::UnsafeCell; use std::mem; pub struct VecCell<T> { - data: UnsafeCell<Vec<T>> + data: UnsafeCell<Vec<T>>, } impl<T> VecCell<T> { - pub fn with_capacity(capacity: usize) -> VecCell<T>{ + pub fn with_capacity(capacity: usize) -> VecCell<T> { VecCell { data: UnsafeCell::new(Vec::with_capacity(capacity)) } } |
