Open
Description
Example:
/// Doc Test
/// ```rust
/// let expected = "\nfoo \n";
/// assert_eq!(expected, r#"
/// foo
/// "#);
/// ```
pub fn main() {}
Note that the expected string has a space before the last newline.
cargo fmt
strips the space in the raw string literal, causing passing doc tests to fail afterwards