From 83f9f54b042a3e391067ebe32b7e10a803f87bcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joni=20Katajam=C3=A4ki?= Date: Mon, 15 Oct 2018 16:24:49 +0300 Subject: [PATCH] Fix getFloat64 comments --- crates/js-sys/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/js-sys/src/lib.rs b/crates/js-sys/src/lib.rs index e480db3b..2d90dce1 100644 --- a/crates/js-sys/src/lib.rs +++ b/crates/js-sys/src/lib.rs @@ -604,14 +604,14 @@ extern "C" { #[wasm_bindgen(method, js_name = getFloat32)] pub fn get_float32_endian(this: &DataView, byte_offset: usize, little_endian: bool) -> f32; - /// The getFloat64() method gets a signed 32-bit float (float) at the specified + /// The getFloat64() method gets a signed 64-bit float (float) at the specified /// byte offset from the start of the DataView. /// /// [MDN documentation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView/getFloat64) #[wasm_bindgen(method, js_name = getFloat64)] pub fn get_float64(this: &DataView, byte_offset: usize) -> f64; - /// The getFloat64() method gets a signed 32-bit float (float) at the specified + /// The getFloat64() method gets a signed 64-bit float (float) at the specified /// byte offset from the start of the DataView. /// /// [MDN documentation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView/getFloat64)