diff --git a/crates/webidl/src/util.rs b/crates/webidl/src/util.rs index 93e778e4..ba1a5e23 100644 --- a/crates/webidl/src/util.rs +++ b/crates/webidl/src/util.rs @@ -534,7 +534,7 @@ pub enum TypePosition { /// Implemented on an AST type node to get equivalent list of syn types and type names that do not have unions. /// For example, it turns `Promise<(sequence or short)>` into -/// corresponding syn types and type names of `[Promise>, short]`. +/// corresponding syn types and type names of `[Promise>, Promise]`. trait GetArgumentPossibilities<'src> { /// Returns option that contains a value if the conversion succeeds. /// The value is a vector of argument possibilities.