Fix rustdoc
This commit is contained in:
parent
d9eac5d99c
commit
b4909f6eb7
2 changed files with 2 additions and 3 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue