Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
j-devel committed Sep 25, 2019
1 parent 46dd0aa commit 487fc30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/webidl/src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ impl<'src> FirstPassRecord<'src> {
};

let is_indexing_getter_to_fix = is_indexing_getter && // exclude non index getters.
!catch && // exclude indexing getters that return `Result<T>`.
!catch && // exclude indexing getters that return `Result<T, JsValue>`.
if let Some(ref ty) = ret { // exclude indexing getters that return `Option<T>`.
!format!("{}", quote! { #ty })
.replace(" ", "")
Expand Down

0 comments on commit 487fc30

Please sign in to comment.