rustdoc: Display extern "C" fn instead of extern fn
This commit is contained in:
@@ -1177,7 +1177,6 @@ impl fmt::Display for AbiSpace {
|
||||
let quot = if f.alternate() { "\"" } else { """ };
|
||||
match self.0 {
|
||||
Abi::Rust => Ok(()),
|
||||
Abi::C => write!(f, "extern "),
|
||||
abi => write!(f, "extern {0}{1}{0} ", quot, abi.name()),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user