summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/args.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/args.rs b/src/args.rs
index 2b93e71..638f90d 100644
--- a/src/args.rs
+++ b/src/args.rs
@@ -44,7 +44,7 @@ pub struct CommandContext<'a, T>(::std::marker::PhantomData<(&'a str, T)>);
 /// ```
 pub trait ArgumentType<'i, T: StringReader<'i>, S, E> {
     /// The parsed type of the argument.
-    type Result: Sized + 'static;
+    type Result: Sized + 'static + ::std::any::Any;
 
     /// Parses an argument of this type, returning the parsed argument.
     fn parse(&self, reader: &mut T) -> Result<Self::Result, E>;