Skip to main content

unescape_string

Function unescape_string 

Source
pub fn unescape_string(value: &str) -> Result<String, String>
Expand description

Unescape a string literal body.

ยงErrors

Returns an error when the input contains invalid escape sequences or ends with a trailing backslash.