Skip to content

reloginn/lformat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lformat

a clone of Lua string.format in Rust based on C sprintf

Example

use lformat::format;
let s = format("%d + %d = %d\n", &[&3, &9, &(3+9)]).unwrap();
assert_eq!(s, "3 + 9 = 12\n");

About

a clone of Lua `string.format` in Rust based on C `s(n)printf`

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Rust 100.0%