about summary refs log tree commit diff
path: root/src/doc/guide-testing.md
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-06-01 22:01:36 -0700
committerbors <bors@rust-lang.org>2014-06-01 22:01:36 -0700
commitb981add9ee56a2d6dc11aa48f01aac5d0dda9327 (patch)
tree4f8a29d4d85894500c04aa540bd0d8b85f99d04b /src/doc/guide-testing.md
parent2be0c5b5f59fd6bcd3f003632d26b1cd204e5cd0 (diff)
parent3fef7a74ca9a642f51cdf8ec4f148916580b34ce (diff)
downloadrust-b981add9ee56a2d6dc11aa48f01aac5d0dda9327.tar.gz
rust-b981add9ee56a2d6dc11aa48f01aac5d0dda9327.zip
auto merge of #14569 : skade/rust/rustdoc-robust-langstring-parsing, r=alexcrichton
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.
Diffstat (limited to 'src/doc/guide-testing.md')
0 files changed, 0 insertions, 0 deletions