rustdoc: Display extern "C" fn instead of extern fn

This commit is contained in:
Oliver Middleton
2017-05-15 00:52:17 +01:00
parent 9f15631c36
commit 93f78bc45e
5 changed files with 8 additions and 9 deletions

View File

@@ -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()),
}
}