Two more small fixes.
This commit is contained in:
parent
df93deab10
commit
82ded3cd03
2 changed files with 2 additions and 1 deletions
|
@ -923,6 +923,7 @@ mod tests {
|
|||
variadic: false
|
||||
}),
|
||||
ast::Unsafety::Normal,
|
||||
ast::Constness::NotConst,
|
||||
abi::Rust,
|
||||
ast::Generics{ // no idea on either of these:
|
||||
lifetimes: Vec::new(),
|
||||
|
|
|
@ -2997,7 +2997,7 @@ impl<'a> State<'a> {
|
|||
|
||||
match constness {
|
||||
ast::Constness::NotConst => {}
|
||||
ast::Constness::Const => try!(self.word_nbsp("unsafe"))
|
||||
ast::Constness::Const => try!(self.word_nbsp("const"))
|
||||
}
|
||||
|
||||
if abi != abi::Rust {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue