You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
axil opened this issue
Aug 21, 2019
· 1 comment
· Fixed by #64737
Labels
A-docsArea: documentation for any part of the project, including the compiler, standard library, and toolsE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
/// A string slice ([`&str`]) is made of bytes ([`u8`]), and a vector of bytes
It should read
A String ([`String`]) is made of bytes
The text was updated successfully, but these errors were encountered:
jonas-schievink
added
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
A-docs
Area: documentation for any part of the project, including the compiler, standard library, and tools
labels
Aug 21, 2019
fix several issues in String docs
- In some places &str was shown instead of String.
- into_bytes is the reverse of from_utf8
Fixesrust-lang#63797
I've retaken the work done in this PR: rust-lang#63865 which for some reason was closed.
and just done a minor change (I hope you don't mind @sam09 ).
A-docsArea: documentation for any part of the project, including the compiler, standard library, and toolsE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
This chunk was supposedly copy-pasted as is from
std::str::from_utf8
rust/src/liballoc/string.rs
Lines 430 to 432 in bdfd698
It should read
The text was updated successfully, but these errors were encountered: