diff options
| author | Mark Rousskov <mark.simulacrum@gmail.com> | 2019-07-15 19:55:08 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-15 19:55:08 -0400 |
| commit | aa480100b38c349aa0288f553911d498be8583ce (patch) | |
| tree | 03d9da5c4a64ceaeabf144fe812671e12da3f31e /src/libcore | |
| parent | 4efdff7dbbfd4bd3051b88220abf35fcf1bac95e (diff) | |
| parent | 4e1d467700d9be5341f98662ee6ca329e2875d51 (diff) | |
| download | rust-aa480100b38c349aa0288f553911d498be8583ce.tar.gz rust-aa480100b38c349aa0288f553911d498be8583ce.zip | |
Rollup merge of #62662 - DutchGhost:fix_space, r=sfackler
add spaces in front of trait requirements in libcore/cell.rs Adds spaces before trait requirements in `libcore/cell.rs`.
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/cell.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/libcore/cell.rs b/src/libcore/cell.rs index beafddc5a10..f74e945b3cc 100644 --- a/src/libcore/cell.rs +++ b/src/libcore/cell.rs @@ -290,7 +290,7 @@ impl<T:Copy> Clone for Cell<T> { } #[stable(feature = "rust1", since = "1.0.0")] -impl<T:Default> Default for Cell<T> { +impl<T: Default> Default for Cell<T> { /// Creates a `Cell<T>`, with the `Default` value for T. #[inline] fn default() -> Cell<T> { @@ -299,7 +299,7 @@ impl<T:Default> Default for Cell<T> { } #[stable(feature = "rust1", since = "1.0.0")] -impl<T:PartialEq + Copy> PartialEq for Cell<T> { +impl<T: PartialEq + Copy> PartialEq for Cell<T> { #[inline] fn eq(&self, other: &Cell<T>) -> bool { self.get() == other.get() @@ -307,10 +307,10 @@ impl<T:PartialEq + Copy> PartialEq for Cell<T> { } #[stable(feature = "cell_eq", since = "1.2.0")] -impl<T:Eq + Copy> Eq for Cell<T> {} +impl<T: Eq + Copy> Eq for Cell<T> {} #[stable(feature = "cell_ord", since = "1.10.0")] -impl<T:PartialOrd + Copy> PartialOrd for Cell<T> { +impl<T: PartialOrd + Copy> PartialOrd for Cell<T> { #[inline] fn partial_cmp(&self, other: &Cell<T>) -> Option<Ordering> { self.get().partial_cmp(&other.get()) @@ -338,7 +338,7 @@ impl<T:PartialOrd + Copy> PartialOrd for Cell<T> { } #[stable(feature = "cell_ord", since = "1.10.0")] -impl<T:Ord + Copy> Ord for Cell<T> { +impl<T: Ord + Copy> Ord for Cell<T> { #[inline] fn cmp(&self, other: &Cell<T>) -> Ordering { self.get().cmp(&other.get()) @@ -1008,7 +1008,7 @@ impl<T: Clone> Clone for RefCell<T> { } #[stable(feature = "rust1", since = "1.0.0")] -impl<T:Default> Default for RefCell<T> { +impl<T: Default> Default for RefCell<T> { /// Creates a `RefCell<T>`, with the `Default` value for T. #[inline] fn default() -> RefCell<T> { |
