We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46dd0aa commit 487fc30Copy full SHA for 487fc30
crates/webidl/src/util.rs
@@ -298,7 +298,7 @@ impl<'src> FirstPassRecord<'src> {
298
};
299
300
let is_indexing_getter_to_fix = is_indexing_getter && // exclude non index getters.
301
- !catch && // exclude indexing getters that return `Result<T>`.
+ !catch && // exclude indexing getters that return `Result<T, JsValue>`.
302
if let Some(ref ty) = ret { // exclude indexing getters that return `Option<T>`.
303
!format!("{}", quote! { #ty })
304
.replace(" ", "")
0 commit comments