Skip to content
forked from tjol/sprintf-rs

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

License

Notifications You must be signed in to change notification settings

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

No packages published

Languages

  • Rust 100.0%