-
Notifications
You must be signed in to change notification settings - Fork 9
Only show body content #27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
yihyunjoon
commented
Apr 24, 2021
|
let mut out = String::new(); | ||
let mut tag = String::new(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
because body
is alive until the function end, out
and tag
don't need to be String
but to be &[u8]
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll do this on another branch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please follow code review if possible in a single PR.
Sure, I'll do it later.
I didn't add my name in
Added!
Formatted the code. It will pass. |
This task is part of chapter 1 |