Closed Nugine closed 1 year ago
Test code:
use memchr::memchr_iter; pub fn assert_sync<T: Sync>(_: &T) {} pub fn foo(input: &[u8]) { assert_sync(&memchr_iter(b'\n', input)); }
See also https://github.com/Nugine/s3s/issues/79
I am thinking this fix deserves a t-shirt
This is fixed on crates.io in memchr 2.6.2.
memchr 2.6.2
Test code:
See also https://github.com/Nugine/s3s/issues/79