We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dccdde4 commit 01385a2Copy full SHA for 01385a2
src/libstd/rand/os.rs
@@ -188,7 +188,6 @@ mod imp {
188
extern crate libc;
189
190
use old_io::{IoResult};
191
- use marker::Sync;
192
use mem;
193
use os;
194
use rand::Rng;
@@ -214,10 +213,8 @@ mod imp {
214
213
#[repr(C)]
215
struct SecRandom;
216
217
- unsafe impl Sync for *const SecRandom {}
218
-
219
#[allow(non_upper_case_globals)]
220
- static kSecRandomDefault: *const SecRandom = 0 as *const SecRandom;
+ const kSecRandomDefault: *const SecRandom = 0 as *const SecRandom;
221
222
#[link(name = "Security", kind = "framework")]
223
extern "C" {
0 commit comments