rust/tests/rustdoc-ui/lints/no-redundancy.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
264 B
Rust
Raw Normal View History

//@ check-pass
2023-06-30 12:23:20 -05:00
#![deny(rustdoc::redundant_explicit_links)]
/// [Vec][std::vec::Vec#examples] should not warn, because it's not actually redundant!
/// [This is just an `Option`][std::option::Option] has different display content to actual link!
pub fn func() {}