It would be convenient to be able to call println with formatted numbers without pre-serializing them. Might some sort of type wrapper implementing the Display trait work well? Then we could write something like:
println!("We have {} subscribers", num_format::Wrapper::wrapped(&num_format::Locale::en, subscriber_count));
It would be convenient to be able to call println with formatted numbers without pre-serializing them. Might some sort of type wrapper implementing the Display trait work well? Then we could write something like: