about summary refs log tree commit diff
path: root/src/librustc_data_structures/veccell/mod.rs
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2016-03-05 08:40:33 -0500
committerNiko Matsakis <niko@alum.mit.edu>2016-03-05 08:40:33 -0500
commit43dc48c7ffb45c714b33b1e47f23f6d711c89596 (patch)
tree71b3bd76dcc944734a35cc80af461f0eedd75546 /src/librustc_data_structures/veccell/mod.rs
parentd31d8a9a919b705fb8d22ba99a693d9f96b8bdd5 (diff)
downloadrust-43dc48c7ffb45c714b33b1e47f23f6d711c89596.tar.gz
rust-43dc48c7ffb45c714b33b1e47f23f6d711c89596.zip
apply rustfmt to librustc_data_structures, correcting rust-lang-nursery/rustfmt#836
Diffstat (limited to 'src/librustc_data_structures/veccell/mod.rs')
-rw-r--r--src/librustc_data_structures/veccell/mod.rs4
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)) }
     }