Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion nova_vm/src/ecmascript/types/language/string/data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ impl StringHeapData {
}
}

// TODO: This should return a wtf8::CodePoint.
pub fn char_code_at(&self, idx: usize) -> CodePoint {
let (utf8_idx, take_latter_half): (usize, bool) = if idx != 0 {
match self.index_mapping() {
Expand Down
1 change: 0 additions & 1 deletion small_string/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ impl SmallString {
unreachable!("Could not find code point index");
}

// TODO: This should return a wtf8::CodePoint.
pub fn char_code_at(&self, idx: usize) -> CodePoint {
if self.is_ascii() {
// SAFETY: ASCII is valid UTF-8.
Expand Down
Loading