mirror of
https://github.com/pezkuwichain/kurdistan_blockchain-akademy.git
synced 2026-04-22 02:07:57 +00:00
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:
+1
-1
@@ -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.
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user