1
Fork 0

Fix rustdoc

This commit is contained in:
Steven Fackler 2014-09-29 00:29:09 -07:00 committed by Steven Fackler
parent d9eac5d99c
commit b4909f6eb7
2 changed files with 2 additions and 3 deletions

View file

@ -84,8 +84,7 @@ mod imp {
pub static F_SETLKW: libc::c_int = 9;
}
#[cfg(target_os = "macos")]
#[cfg(target_os = "ios")]
#[cfg(any(target_os = "macos", target_os = "ios"))]
mod os {
use libc;

View file

@ -85,7 +85,7 @@ fn libname(mut n: String) -> String {
n
}
#[cfg(not(target_os="windows"), not(target_os="macos"))]
#[cfg(all(not(target_os="windows"), not(target_os="macos")))]
fn libname(n: String) -> String {
let mut i = String::from_str("lib");
i.push_str(n.as_slice());