rust/tests/rustdoc/include_str_cut.rs
2024-06-24 11:08:41 +02: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() {}