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

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