mozilla/rust — pull request #14569 by skade (2014-05-31 22:38:49+00:00)
Title: rustdoc: make langstring parsing robuster

This changes the parsing of the language string
in code examples so that unrecognized examples
are not considered Rust code. This was, for example,
the case when a code example was marked `sh` for shell
code.

This relieves authors of having to mark those samples
as `notrust`.

Also adds recognition of the positive marker `rust`.

By default, unmarked examples are still considered rust.