Sign Up
Time to claim your honor
Training
Practice
Complete challenging
Kata
to earn honor and ranks. Re-train to hone technique
Freestyle Sparring
Take turns remixing and refactoring others code through
Kumite
Community
Leaderboards
Achieve honor and move up the global leaderboards
Chat
Join our
Discord
server and chat with your fellow code warriors
Discussions
View our
Github Discussions
board to discuss general Codewars topics
About
Docs
Learn about all of the different aspects of Codewars
Blog
Read the latest news from Codewars and the community
Log In
Sign Up
Name:
Logan M
Clan:
Unknown
Member Since:
Apr 2015
Last Seen:
May 2023
Profiles:
Following:
0
Followers:
0
Allies:
0
View Profile Badges
Stats
Kata
Collections
Kumite
Social
Discourse
Conversations
Replies (1)
Authored
Needs Resolution
TadaHrd
commented on
"Rust Testings..." kumite
2 years ago
This is a macro, not a function, so you just remade my code as a function.
Tell me how to fix the macro if you need to correct me.
Next time when displaying code in markdown do this:
```rust <code> ```
Now tell me why you used
&str
and when you used
if
.
Confirm
Collect:
undefined
Loading collection data...
```rust <code> ```
&str
and when you usedif
.