Skip to main content

move_string

Function move_string 

Source
pub fn move_string(s: &str) -> String
Expand description

Helper to create a string argument for Move functions.

Move strings are UTF-8 encoded vectors of bytes.

§Example

let name = move_string("Alice");