diff options
Diffstat (limited to 'src/program.rs')
-rw-r--r-- | src/program.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/program.rs b/src/program.rs index 7a366585..c423f6d0 100644 --- a/src/program.rs +++ b/src/program.rs @@ -166,10 +166,7 @@ impl<P: Definition> Program<P> { /// Runs the underlying [`Application`] of the [`Program`] with a /// closure that creates the initial state. - pub fn run_with( - self, - initialize: impl Fn() -> P::State + Clone + 'static, - ) -> Result + pub fn run_with(self, initialize: impl Fn() -> P::State + Clone) -> Result where Self: 'static, { |