rust/tests/rustdoc/include_str_cut.rs

8 lines
160 B
Rust
Raw Normal View History

#![crate_name = "foo"]
#![no_std]
// @has 'foo/fn.foo.html'
// @has - '//*[@class="docblock"]' 'inc2 x'
#[doc = include_str!("short-line.md")]
pub fn foo() {}