tinystr
tinystr copied to clipboard
example code in README.md looks wrong
It has this:
let s5: TinyStrAuto = "longFallbackToHeap".parse().unwrap();
assert!(matches!(s4, TinyStrAuto::Heap { .. }));
assert_eq!(s4, "shortNoAlloc");
It looks like this block should be referring to s5 instead of s4.