Function fmty::quote_single

source ·
pub fn quote_single<T>(value: T) -> Infix<T, char>
Expand description

Places a value between '.

Examples

let value = fmty::quote_single(123);

assert_eq!(value.to_string(), "'123'");