diff options
| author | bors <bors@rust-lang.org> | 2013-11-19 20:31:21 -0800 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-11-19 20:31:21 -0800 |
| commit | 6a25ba374b2bfe32d4411cab3547d76d47769d6c (patch) | |
| tree | 9d6c30fb6b82fb423364e27c964d59f651e06a54 /src/libstd | |
| parent | c159acb05d95d832de3cebb5e1e91ee34e550c9d (diff) | |
| parent | 3e637d505e39a839ed96630fb7ea5d61a9e8e627 (diff) | |
| download | rust-6a25ba374b2bfe32d4411cab3547d76d47769d6c.tar.gz rust-6a25ba374b2bfe32d4411cab3547d76d47769d6c.zip | |
auto merge of #10575 : sfackler/rust/non-copyable, r=huonw
The issue that required it has been fixed.
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/util.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/libstd/util.rs b/src/libstd/util.rs index 3e44a30e47b..8e939caf756 100644 --- a/src/libstd/util.rs +++ b/src/libstd/util.rs @@ -62,12 +62,6 @@ pub fn replace<T>(dest: &mut T, mut src: T) -> T { #[unsafe_no_drop_flag] pub struct NonCopyable; -impl NonCopyable { - // FIXME(#8233) should not be necessary - /// Create a new noncopyable token. - pub fn new() -> NonCopyable { NonCopyable } -} - impl Drop for NonCopyable { fn drop(&mut self) { } } |
