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.
wt8::CodePoint
1 parent 6922bf6 commit ab81608Copy full SHA for ab81608
nova_vm/src/ecmascript/types/language/string/data.rs
@@ -144,7 +144,6 @@ impl StringHeapData {
144
}
145
146
147
- // TODO: This should return a wtf8::CodePoint.
148
pub fn char_code_at(&self, idx: usize) -> CodePoint {
149
let (utf8_idx, take_latter_half): (usize, bool) = if idx != 0 {
150
match self.index_mapping() {
small_string/lib.rs
@@ -134,7 +134,6 @@ impl SmallString {
134
unreachable!("Could not find code point index");
135
136
137
138
139
if self.is_ascii() {
140
// SAFETY: ASCII is valid UTF-8.
0 commit comments