immut_string

Crates.ioimmut_string
lib.rsimmut_string
version0.1.0
sourcesrc
created_at2018-02-23 15:11:10.889395
updated_at2018-02-23 15:11:10.889395
descriptionimmutable string
homepagehttps://gitlab.com/nathanfaucett/rs-immut_string
repositoryhttps://gitlab.com/nathanfaucett/rs-immut_string.git
max_upload_size
id52530
size9,580
Nathan Faucett (nathanfaucett)

documentation

README

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);
}
Commit count: 2

cargo fmt