rustdoc: update test case to deal with "coo" only accepting dist=1

This commit is contained in:
Michael Howell 2022-10-28 23:07:36 -07:00
parent e09e6df787
commit 8211760b91

View File

@ -340,7 +340,7 @@ pub fn method() {}
pub mod doc_block_table {
pub trait DocBlockTableTrait {
fn func();
fn foo();
}
/// Struct doc.
@ -359,7 +359,7 @@ impl DocBlockTableTrait for DocBlockTable {
/// | header1 | header2 |
/// |--------------------------|--------------------------|
/// | Lorem Ipsum, Lorem Ipsum | Lorem Ipsum, Lorem Ipsum |
fn func() {
fn foo() {
println!();
}
}
@ -474,3 +474,15 @@ pub fn test_fn() {}
///
/// </sub>
pub mod codeblock_sub {}
pub mod search_results {
pub struct SearchResults {
pub foo: i32,
}
#[macro_export]
macro_rules! foo {
() => {};
}
}