Skip to content

Commit

Permalink
Delete stray semicolons
Browse files Browse the repository at this point in the history
  • Loading branch information
dherman committed Mar 4, 2022
1 parent d6196dc commit f3b7eb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MIGRATION_GUIDE_0.10.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ let length = obj.get(&mut cx, "length")?;
let length: Option<Handle<JsNumber>> = if length.is_a::<JsNull, _>(&mut cx) {
None
} else {
Some(length.downcast_or_throw(&mut cx)?);
Some(length.downcast_or_throw(&mut cx)?)
};
```

Expand All @@ -63,7 +63,7 @@ let length = obj.get_value(&mut cx, "length")?;
let length: Option<Handle<JsNumber>> = if length.is_a::<JsNull, _>(&mut cx) {
None
} else {
Some(length.downcast_or_throw(&mut cx)?);
Some(length.downcast_or_throw(&mut cx)?)
};
```

Expand Down

0 comments on commit f3b7eb5

Please sign in to comment.