We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
utf8_chunks
1 parent 25290ca commit 9dfe608Copy full SHA for 9dfe608
src/types/buffer.rs
@@ -2392,7 +2392,7 @@ impl JanetBuffer<'_> {
2392
/// [`to_str_lossy`]: #method.to_str_lossy
2393
#[inline]
2394
pub fn utf8_chunks(&self) -> Utf8Chunks {
2395
- self.as_bytes().utf8_chunks()
+ ByteSlice::utf8_chunks(self.as_bytes())
2396
}
2397
2398
/// Creates an iterator over the words in this buffer along with
src/types/string.rs
@@ -2114,7 +2114,7 @@ impl<'data> JanetString<'data> {
2114
2115
2116
2117
2118
2119
2120
/// Creates an iterator over the words in this string along with
0 commit comments