From 487fc307bc08c2a7778b2117fb03f0f5eb5a3c18 Mon Sep 17 00:00:00 2001 From: jayd Date: Wed, 25 Sep 2019 22:33:35 +0700 Subject: [PATCH] Fix typo --- crates/webidl/src/util.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/webidl/src/util.rs b/crates/webidl/src/util.rs index 5fec5d958cd..85907d81ba1 100644 --- a/crates/webidl/src/util.rs +++ b/crates/webidl/src/util.rs @@ -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`. + !catch && // exclude indexing getters that return `Result`. if let Some(ref ty) = ret { // exclude indexing getters that return `Option`. !format!("{}", quote! { #ty }) .replace(" ", "")