Skip to content

Commit

Permalink
Add display test for range args
Browse files Browse the repository at this point in the history
  • Loading branch information
CraftSpider committed Dec 28, 2020
1 parent 3812b9f commit 04ccdf1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/test/rustdoc/range-arg-pattern.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#![crate_name = "foo"]

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

0 comments on commit 04ccdf1

Please sign in to comment.