immut_string 0.1.0

immutable string
Documentation

rs-immut_string

immutable string

extern crate immut_string;

use immut_string::ImmutString;

fn main() {
  let a: ImmutString = "Hello".into();
  let b = ImmutString::from(", world!");
  let c = a + b;

  assert_eq!(c, "Hello, world!");
  assert_eq!(c.len(), 13);
}