cow-rc-str 0.1.0

Borrow from an original input string and avoid allocating/copying when possible
Documentation
1
2
3
4
5
6
7
use crate::CowRcStr;

#[test]
pub fn test_creation() {
	let s: CowRcStr = String::from("Hello world").into();
	assert_eq!(s, "Hello world");
}