diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-05-23 19:42:26 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-05-25 01:18:11 -0700 |
| commit | 9f13db2cb2edfd626006bd86e01351a8b1c23401 (patch) | |
| tree | 267dbb86dcacd22e4237147a1cf16cb25cdbb087 /src | |
| parent | 837d4d8f35d8db10c9899b35e54f4670ba0cd609 (diff) | |
| download | rust-9f13db2cb2edfd626006bd86e01351a8b1c23401.tar.gz rust-9f13db2cb2edfd626006bd86e01351a8b1c23401.zip | |
rustdoc: Fix rendering of the 'static bound
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustdoc/html/format.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
