Skip to content

Commit ffdcd51

Browse files
committed
Fix assert! macro usage
There is a bug in rustc that allows adding invalid trailing tokens to the `assert!` macro call. They are currently ignored but are going to produce errors in the future. Fix assert! macro usage to remove extra tokens. For more information, see rust-lang/rust#60024 and rust-lang/rust#60039
1 parent c851001 commit ffdcd51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/generators/phrase.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ mod test {
196196
passwords
197197
.words
198198
.into_iter()
199-
.all(|word| word.len() >= 5);
199+
.all(|word| word.len() >= 5)
200200
)
201201
}
202202

0 commit comments

Comments
 (0)