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 {
|
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||||
match *self {
|
match *self {
|
||||||
clean::RegionBound => {
|
clean::RegionBound => {
|
||||||
f.write("::".as_bytes())
|
f.write("'static".as_bytes())
|
||||||
}
|
}
|
||||||
clean::TraitBound(ref ty) => {
|
clean::TraitBound(ref ty) => {
|
||||||
write!(f, "{}", *ty)
|
write!(f, "{}", *ty)
|
||||||
|
Loading…
Reference in New Issue
Block a user