Skip to content

Commit 487fc30

Browse files
committed
Fix typo
1 parent 46dd0aa commit 487fc30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/webidl/src/util.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ impl<'src> FirstPassRecord<'src> {
298298
};
299299

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

0 commit comments

Comments
 (0)