Skip to content

&str->String in the docs #63797

@axil

Description

@axil

This chunk was supposedly copy-pasted as is from std::str::from_utf8

rust/src/liballoc/string.rs

Lines 430 to 432 in bdfd698

/// Converts a vector of bytes to a `String`.
///
/// A string slice ([`&str`]) is made of bytes ([`u8`]), and a vector of bytes

It should read

A String ([`String`]) is made of bytes

Activity

added
E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and tools
on Aug 21, 2019
sam09

sam09 commented on Aug 22, 2019

@sam09
Contributor

Hi there. Can I pick this up as first-timer task?

added a commit that references this issue on Sep 24, 2019
62dc794
added a commit that references this issue on Sep 24, 2019
477bdcd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Participants

      @axil@jonas-schievink@sam09

      Issue actions

        &str->String in the docs · Issue #63797 · rust-lang/rust