From 762331eb2b8d464bab3b7c27940ce9c1ed233800 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andor=20Uhl=C3=A1r?= Date: Wed, 26 Nov 2014 16:04:10 +0100 Subject: Sync is now part of the standard library --- openssl-sys/src/lib.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'openssl-sys/src/lib.rs') diff --git a/openssl-sys/src/lib.rs b/openssl-sys/src/lib.rs index 3a92a8d4..50186ae0 100755 --- a/openssl-sys/src/lib.rs +++ b/openssl-sys/src/lib.rs @@ -3,13 +3,12 @@ extern crate libc; extern crate rustrt; -extern crate sync; use libc::{c_void, c_int, c_char, c_ulong, c_long, c_uint, c_uchar, size_t}; use std::mem; use std::ptr; use rustrt::mutex::NativeMutex; -use sync::one::{Once, ONCE_INIT}; +use std::sync::{Once, ONCE_INIT}; pub type ASN1_INTEGER = c_void; pub type ASN1_STRING = c_void; -- cgit v1.2.3