about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorTom Jakubowski <tom@crystae.net>2015-01-11 02:34:55 -0800
committerTom Jakubowski <tom@crystae.net>2015-01-11 02:34:55 -0800
commit6f45cb493ecc8b09104b12b9b51d86279a14b032 (patch)
treeea8eb2cb0d8bbd128289dcc3a5b7c745bcf3cccc /src
parentd2d35db570f0d5da1b0b829e38b495e763a0a60b (diff)
downloadrust-6f45cb493ecc8b09104b12b9b51d86279a14b032.tar.gz
rust-6f45cb493ecc8b09104b12b9b51d86279a14b032.zip
Escape a leading # in a doc comment
rustdoc was rendering this as a header
Diffstat (limited to 'src')
-rw-r--r--src/librustc/middle/ty.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/middle/ty.rs b/src/librustc/middle/ty.rs
index ef86e67de16..0089fd08c51 100644
--- a/src/librustc/middle/ty.rs
+++ b/src/librustc/middle/ty.rs
@@ -1890,7 +1890,7 @@ pub type PolyTypeOutlivesPredicate<'tcx> = PolyOutlivesPredicate<Ty<'tcx>, ty::R
 /// normal trait predicate (`T : TraitRef<...>`) and one of these
 /// predicates. Form #2 is a broader form in that it also permits
 /// equality between arbitrary types. Processing an instance of Form
-/// #2 eventually yields one of these `ProjectionPredicate`
+/// \#2 eventually yields one of these `ProjectionPredicate`
 /// instances to normalize the LHS.
 #[derive(Clone, PartialEq, Eq, Hash, Show)]
 pub struct ProjectionPredicate<'tcx> {