File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2392,7 +2392,7 @@ impl JanetBuffer<'_> {
2392
2392
/// [`to_str_lossy`]: #method.to_str_lossy
2393
2393
#[ inline]
2394
2394
pub fn utf8_chunks ( & self ) -> Utf8Chunks {
2395
- self . as_bytes ( ) . utf8_chunks ( )
2395
+ ByteSlice :: utf8_chunks ( self . as_bytes ( ) )
2396
2396
}
2397
2397
2398
2398
/// Creates an iterator over the words in this buffer along with
Original file line number Diff line number Diff line change @@ -2114,7 +2114,7 @@ impl<'data> JanetString<'data> {
2114
2114
/// [`to_str_lossy`]: #method.to_str_lossy
2115
2115
#[ inline]
2116
2116
pub fn utf8_chunks ( & self ) -> Utf8Chunks {
2117
- self . as_bytes ( ) . utf8_chunks ( )
2117
+ ByteSlice :: utf8_chunks ( self . as_bytes ( ) )
2118
2118
}
2119
2119
2120
2120
/// Creates an iterator over the words in this string along with
You can’t perform that action at this time.
0 commit comments