Function yash_quote::quoted
source · pub fn quoted(raw: &str) -> Quoted<'_>
Expand description
Wraps a string in Quoted
.
This function scans the string to cache the value for
Quoted::needs_quoting
, so this is an O(n) operation.
pub fn quoted(raw: &str) -> Quoted<'_>
Wraps a string in Quoted
.
This function scans the string to cache the value for
Quoted::needs_quoting
, so this is an O(n) operation.