diff --git a/lib.rs b/lib.rs index d89c8efd..5f854761 100644 --- a/lib.rs +++ b/lib.rs @@ -1,8 +1,8 @@ -#[feature(struct_variant, macro_rules)]; -#[crate_id="github.com/sfackler/rust-openssl#openssl:0.0"]; -#[crate_type="rlib"]; -#[crate_type="dylib"]; -#[doc(html_root_url="http://www.rust-ci.org/sfackler/rust-openssl/doc")]; +#![feature(struct_variant, macro_rules)] +#![crate_id="github.com/sfackler/rust-openssl#openssl:0.0"] +#![crate_type="rlib"] +#![crate_type="dylib"] +#![doc(html_root_url="http://www.rust-ci.org/sfackler/rust-openssl/doc")] #[cfg(test)] extern crate serialize; diff --git a/ssl/ffi.rs b/ssl/ffi.rs index c968c67d..172a25a2 100644 --- a/ssl/ffi.rs +++ b/ssl/ffi.rs @@ -1,5 +1,4 @@ -#[doc(hidden)]; -#[allow(non_camel_case_types)]; +#![allow(non_camel_case_types)] use std::libc::{c_int, c_void, c_long, c_ulong, c_char};