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/
2023-04-28 01:51:20 +02:00
committed by GitHub
parent cb82d7a9ee
commit 4933dfc0ec
2 changed files with 2 additions and 2 deletions
+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 {