about summary refs log tree commit diff
path: root/src/libstd/rand
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-02-06 05:38:08 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-02-06 16:21:08 +0530
commit67b51291f0ffb352ec3f4cc2455a85cfa3995946 (patch)
tree6161f3383b83f4c11a37cd9e136afa06e7dbf18f /src/libstd/rand
parentcfae247ce0423d3b6a0114b8b64826cdec461edc (diff)
parent85a85c2070a6a967f1ccb1495391217fdb793112 (diff)
downloadrust-67b51291f0ffb352ec3f4cc2455a85cfa3995946.tar.gz
rust-67b51291f0ffb352ec3f4cc2455a85cfa3995946.zip
Rollup merge of #21925 - sfackler:allow-missing-copy, r=alexcrichton
 This was particularly helpful in the time just after OIBIT's
implementation to make sure things that were supposed to be Copy
continued to be, but it's now creates a lot of noise for types that
intentionally don't want to be Copy.

r? @alexcrichton
Diffstat (limited to 'src/libstd/rand')
-rw-r--r--src/libstd/rand/os.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libstd/rand/os.rs b/src/libstd/rand/os.rs
index 797b9332f17..535af08c96c 100644
--- a/src/libstd/rand/os.rs
+++ b/src/libstd/rand/os.rs
@@ -206,7 +206,6 @@ mod imp {
     /// - iOS: calls SecRandomCopyBytes as /dev/(u)random is sandboxed.
     ///
     /// This does not block.
-    #[allow(missing_copy_implementations)]
     pub struct OsRng {
         // dummy field to ensure that this struct cannot be constructed outside of this module
         _dummy: (),