rune::modules::fmt

Function module

Source
pub fn module() -> Result<Module, ContextError>
Expand description

Formatting text.

This includes types, macros, and functions used to format text.

ยงExamples

let who = "World";
let string = format!("Hello {}", who);
assert_eq!(string, "Hello World");