summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/include_str_cut.rs
blob: cbc1ba8db7529d8a7b2ab8e27f9ad22e60a83ce5 (plain)
1
2
3
4
5
6
7
#![crate_name = "foo"]
#![no_std]

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