diff options
Diffstat (limited to 'src/test/rustdoc/range-arg-pattern.rs')
-rw-r--r-- | src/test/rustdoc/range-arg-pattern.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/rustdoc/range-arg-pattern.rs b/src/test/rustdoc/range-arg-pattern.rs new file mode 100644 index 000000000..756939ae3 --- /dev/null +++ b/src/test/rustdoc/range-arg-pattern.rs @@ -0,0 +1,5 @@ +#![crate_name = "foo"] + +// @has foo/fn.f.html +// @has - '//*[@class="rust fn"]' 'pub fn f(_: u8)' +pub fn f(0u8..=255: u8) {} |