puts

Crates.ioputs
lib.rsputs
version0.1.2
sourcesrc
created_at2016-05-14 09:01:22.408301
updated_at2016-05-14 19:56:50.044277
descriptionTyping `println!('{:?} {:?} {:?}', o1, o2, o3)` is too hard. `puts!(o1, o2, o3)`
homepage
repository
max_upload_size
id5063
size2,448
(Charlesetc)

documentation

README

puts!

Often times you want to print something in rust and have to type not 1, not 2, not 3, but 9 consecutive punctuation characters to do so!

That's insane. So I made puts!

Instead of:

println!("{:?} {:?}", object);

it's now

puts!(object1, object2)

just make sure to add

#[macro_use(puts)]
extern crate puts;

in your project.

Commit count: 0

cargo fmt