Merge pull request #1204 from chocolatkey/patch-1

minor typo in js-sys lib.rs
This commit is contained in:
Alex Crichton 2019-01-25 08:05:00 -07:00 committed by GitHub
commit c56dff8ede
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 {