rustdoc: Fix rendering of the 'static bound
This commit is contained in:
parent
837d4d8f35
commit
9f13db2cb2
@ -99,7 +99,7 @@ impl fmt::Show for clean::TyParamBound {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
match *self {
|
||||
clean::RegionBound => {
|
||||
f.write("::".as_bytes())
|
||||
f.write("'static".as_bytes())
|
||||
}
|
||||
clean::TraitBound(ref ty) => {
|
||||
write!(f, "{}", *ty)
|
||||
|
Loading…
Reference in New Issue
Block a user