summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/lints/no-redundancy.rs
blob: e3358728b1b11f5a43ad24230199682c0e7c82bf (plain)
1
2
3
4
5
6
7
// check-pass

#![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() {}