diff --git a/src/librustdoc/html/format.rs b/src/librustdoc/html/format.rs index d60fe3c0388..9043ffd10ba 100644 --- a/src/librustdoc/html/format.rs +++ b/src/librustdoc/html/format.rs @@ -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)