Skip to content

Commit 8fb7853

Browse files
committed
doc: typo
1 parent 3091d8b commit 8fb7853

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ feature, which is enabled by default):
3737
// `()` if there are no bound variables
3838
assert_eq!(try_match!(Var1(42), Var1(_)), Ok(()));
3939

40-
// The bound variable if there is exactly one bound variables
40+
// The bound variable if there is exactly one bound variable
4141
assert_eq!(try_match!(Var1(42), Var1(x)), Ok(42));
4242
assert_eq!(try_match!(Var1(42), Var1(x) if x < 20), Err(Var1(42)));
4343

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
//! // `()` if there are no bound variables
3838
//! assert_eq!(try_match!(Var1(42), Var1(_)), Ok(()));
3939
//!
40-
//! // The bound variable if there is exactly one bound variables
40+
//! // The bound variable if there is exactly one bound variable
4141
//! assert_eq!(try_match!(Var1(42), Var1(x)), Ok(42));
4242
//! assert_eq!(try_match!(Var1(42), Var1(x) if x < 20), Err(Var1(42)));
4343
//!

0 commit comments

Comments
 (0)