rust/tests/rustdoc/include_str_cut.rs
2023-01-11 09:32:08 +00:00

8 lines
160 B
Rust

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