Fix: Referring to match Keyword not match! Macro (#16)

* removes `!` after match, as it's refering to the match keyword instead of a macro.
This commit is contained in:
peetzweg/ authored and GitHub committed 2023-04-27 17:51:20 -06:00
1 parent cb82d7a9ee
commit 4933dfc0ec
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -12,4 +12,4 @@ publish = false
[dependencies]
# There should be NO external additions here, per the honor code.
# If you want or need to create a local dependancy, you may do so.
# If you want or need to create a local dependency, you may do so.
+1 -1
View File
@@ -2,7 +2,7 @@
//! statement of the `matches!()` macro, if you feel like having an "1-liner".
//!
//! You can try and write them imperatively at first as well, but at the end of the day, we want you
//! to write them using the `match!` or `matches!`.
//! to write them using the `match` keyword or the `matches!` macro.
/// Returns true if the last two strings in the vector start with `PBA`.
pub fn match_1(input: Vec<String>) -> bool {