Remove explicit syntax highlight from docs.

This commit is contained in:
Joseph Crail 2015-03-12 22:42:38 -04:00
parent 3e4be02b80
commit fcf3f3209a
51 changed files with 172 additions and 167 deletions

View file

@ -535,7 +535,7 @@ fn assemble_candidates_from_param_env<'cx,'tcx>(
/// In the case of a nested projection like <<A as Foo>::FooT as Bar>::BarT, we may find
/// that the definition of `Foo` has some clues:
///
/// ```rust
/// ```
/// trait Foo {
/// type FooT : Bar<BarT=i32>
/// }

View file

@ -82,7 +82,7 @@ impl<'tcx> TypeWalker<'tcx> {
///
/// Example: Imagine you are walking `Foo<Bar<int>, uint>`.
///
/// ```rust
/// ```
/// let mut iter: TypeWalker = ...;
/// iter.next(); // yields Foo
/// iter.next(); // yields Bar<int>