librustc: Replace the &static
bound with 'static
This commit is contained in:
parent
02c49b32ca
commit
94327d00c6
14 changed files with 60 additions and 57 deletions
|
@ -1755,7 +1755,7 @@ pub fn print_bounds(s: @ps, bounds: @OptVec<ast::TyParamBound>) {
|
|||
|
||||
match *bound {
|
||||
TraitTyParamBound(ty) => print_type(s, ty),
|
||||
RegionTyParamBound => word(s.s, ~"&static"),
|
||||
RegionTyParamBound => word(s.s, ~"'static"),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue