diff options
| author | Aaron Turon <aturon@mozilla.com> | 2014-09-14 15:57:55 -0700 |
|---|---|---|
| committer | Aaron Turon <aturon@mozilla.com> | 2014-09-16 11:46:52 -0700 |
| commit | d8dfe1957b6541de8fe2797e248fe4bd2fac02d9 (patch) | |
| tree | a6e36c294538942b621d79f28424caa02a093a59 /src/libsync | |
| parent | 828e075abd8ee2f8c16f6cb1b93c0d99307e704d (diff) | |
| download | rust-d8dfe1957b6541de8fe2797e248fe4bd2fac02d9.tar.gz rust-d8dfe1957b6541de8fe2797e248fe4bd2fac02d9.zip | |
Align with _mut conventions
As per [RFC 52](https://github.com/rust-lang/rfcs/blob/master/active/0052-ownership-variants.md), use `_mut` suffixes to mark mutable variants, and `into_iter` for moving iterators. [breaking-change]
Diffstat (limited to 'src/libsync')
| -rw-r--r-- | src/libsync/comm/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsync/comm/mod.rs b/src/libsync/comm/mod.rs index 9177fa4a6b4..e46f52b3ad7 100644 --- a/src/libsync/comm/mod.rs +++ b/src/libsync/comm/mod.rs @@ -449,7 +449,7 @@ enum Flavor<T> { #[doc(hidden)] trait UnsafeFlavor<T> { fn inner_unsafe<'a>(&'a self) -> &'a UnsafeCell<Flavor<T>>; - unsafe fn mut_inner<'a>(&'a self) -> &'a mut Flavor<T> { + unsafe fn inner_mut<'a>(&'a self) -> &'a mut Flavor<T> { &mut *self.inner_unsafe().get() } unsafe fn inner<'a>(&'a self) -> &'a Flavor<T> { |
