summaryrefslogtreecommitdiffstats
path: root/vendor/wasm-bindgen/src/cast.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/wasm-bindgen/src/cast.rs')
-rw-r--r--vendor/wasm-bindgen/src/cast.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/wasm-bindgen/src/cast.rs b/vendor/wasm-bindgen/src/cast.rs
index 6be56a2d7..e462cf836 100644
--- a/vendor/wasm-bindgen/src/cast.rs
+++ b/vendor/wasm-bindgen/src/cast.rs
@@ -3,7 +3,7 @@ use crate::{describe::WasmDescribe, JsValue};
/// A trait for checked and unchecked casting between JS types.
///
/// Specified [in an RFC][rfc] this trait is intended to provide support for
-/// casting JS values between differnet types of one another. In JS there aren't
+/// casting JS values between different types of one another. In JS there aren't
/// many static types but we've ascribed JS values with static types in Rust,
/// yet they often need to be switched to other types temporarily! This trait
/// provides both checked and unchecked casting into various kinds of values.