Skip to content

Truly independent web browser

LibJS: Drop a stale comment on DataView::byte_offset

Shannon Booth927dbe2ae9a7
diff --git a/Libraries/LibJS/Rust/src/runtime/data_view.rs b/Libraries/LibJS/Rust/src/runtime/data_view.rs
index 282bdd815c6..cf29b4ec9ae 100644
--- a/Libraries/LibJS/Rust/src/runtime/data_view.rs
+++ b/Libraries/LibJS/Rust/src/runtime/data_view.rs
@@ -75,7 +75,6 @@ impl DataView {
self.byte_length.get()
}
- /// NB: This truncates the byte offset to a u32.
pub fn byte_offset(&self) -> usize {
self.byte_offset.get()
}