0
0
mirror of https://github.com/rust-lang/rust.git synced 2024-11-25 04:06:55 +01:00
rust/tests/rustdoc/range-arg-pattern.rs
2024-06-24 11:08:41 +02:00

6 lines
134 B
Rust

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