lazy_cat 1.0.2

Lazy concatenation of strings and other things in Rust.
Documentation

lazy_cat Crates listing

Lazy concatenation of strings and other things in Rust.

Documentation

Example:

#[macro_use]
extern crate lazy_cat;

fn main() {
  assert_eq!("Hello world!", lazy_cat!("Hello", " world!").to_string());
  assert_eq!("Hello John Doe!", lazy_cat!("Hello ", "John ", "Doe!").to_string());
  assert_eq!("123Hello", lazy_cat!(1, 2, 3, "Hello").to_string());
}