Skip to content

Commit 9f13db2

Browse files
committed
rustdoc: Fix rendering of the 'static bound
1 parent 837d4d8 commit 9f13db2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/html/format.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ impl fmt::Show for clean::TyParamBound {
9999
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
100100
match *self {
101101
clean::RegionBound => {
102-
f.write("::".as_bytes())
102+
f.write("'static".as_bytes())
103103
}
104104
clean::TraitBound(ref ty) => {
105105
write!(f, "{}", *ty)

0 commit comments

Comments
 (0)