minor typo in js-sys lib.rs

This commit is contained in:
Henry 2019-01-24 15:35:21 -08:00 committed by GitHub
parent f8dabfcae9
commit 2a6d2004e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4841,7 +4841,7 @@ macro_rules! arrays {
/// Additionally the returned object can be safely mutated but the
/// input slice isn't guaranteed to be mutable.
///
/// Finally, the returned objet is disconnected from the input
/// Finally, the returned object is disconnected from the input
/// slice's lifetime, so there's no guarantee that the data is read
/// at the right time.
pub unsafe fn view(rust: &[$ty]) -> $name {