1
Fork 0

remove extra space from crate-level doctest names

This commit is contained in:
Andy Russell 2020-05-13 18:31:33 -04:00
parent 75e1463c52
commit c379fb5b3a
No known key found for this signature in database
GPG key ID: BE2221033EDBC374
3 changed files with 27 additions and 1 deletions

View file

@ -0,0 +1,15 @@
// compile-flags:--test --test-args=--test-threads=1
// normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR"
// check-pass
//! ```
//! assert_eq!(1 + 1, 2);
//! ```
pub mod foo {
/// ```
/// assert_eq!(1 + 1, 2);
/// ```
pub fn bar() {}
}