Skip to content

Rust: s.to_string().into_boxed_str() → Box::from(s) where s: &str #5

@KisaragiEffective

Description

@KisaragiEffective

https://github.com/search?q=user%3AKisaragiEffective%20language%3ARust%20%2F%5C.to_string%5C(%5C)%5C.into_boxed_str%5C(%5C)%2F&type=code

From: s.to_string().into_boxed_str() for context
Captures: s: &str
To: Box::from(s)
Applicable: where expecting typed as Box<str>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions