From 22f92af124c9bb6fef5d38a18b9e565d68be4d6f Mon Sep 17 00:00:00 2001 From: Anton Danilkin Date: Fri, 10 Aug 2018 15:54:19 +0300 Subject: [PATCH] Fix example in docs --- 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 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.