summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/range-arg-pattern.rs
blob: d0d9111bb4088187b742cc6a535a95c22c66d45c (plain)
1
2
3
4
5
#![crate_name = "foo"]

// @has foo/fn.f.html
// @has - '//pre[@class="rust item-decl"]' 'pub fn f(_: u8)'
pub fn f(0u8..=255: u8) {}