Skip to main content

string_text

Function string_text 

Source
pub fn string_text(text: &str) -> String
Expand description

Escape a string for an F# string literal.

F#’s escapes agree with the shared crate::writer::escape_string on every one it writes (\", \\, \n, \r, \t, \0), so this module has no escaping of its own the way crate::zig’s does.