Skip to content

Commit 4298478

Browse files
committed
Fix example in README
1 parent d8f101a commit 4298478

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@ This library provides types for common sizes, optimised for cache-line efficienc
3232
```rust
3333
use qstr::BStr15;
3434
use qstr::StrVec;
35+
use qstr::Align16;
3536

3637
let str: BStr15 = "aws:us:east:1".into();
37-
let vec: StrVec<u16, 15> = str.split(":");
38+
let vec: StrVec<u16, 15, Align16> = str.split(":");
3839

3940
assert_eq!(
4041
vec.iter().collect::<Vec<_>>(),

0 commit comments

Comments
 (0)