Skip to content

Commit 0ca365f

Browse files
committed
removed repeated word
1 parent 6556204 commit 0ca365f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/patterns.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ match slice {
384384
// `end` is a slice of everything but the first element, which must be "a".
385385
["a", end @ ..] => println!("ends with: {:?}", end),
386386

387-
// 'whole' is the entire slice and `last` the the final element
387+
// 'whole' is the entire slice and `last` is the final element
388388
whole @ [.., last] => println!("the last element of {:?} is {}", whole, last)
389389

390390
rest => println!("{:?}", rest),

0 commit comments

Comments
 (0)