From 70137e6614843c42dd9ad32abf00e5fc7da7662f Mon Sep 17 00:00:00 2001 From: SoniEx2 Date: Sun, 5 Dec 2021 00:11:33 -0300 Subject: Add more Send + Sync --- src/tree.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/tree.rs') diff --git a/src/tree.rs b/src/tree.rs index daac8d3..71243be 100644 --- a/src/tree.rs +++ b/src/tree.rs @@ -3,7 +3,6 @@ // Licensed under the MIT license. // Documentation and comments licensed under CC BY-SA 4.0. -#![allow(dead_code, unused_imports)] // for now //! Command syntax tree. use ::std::borrow::Cow; @@ -75,7 +74,7 @@ impl CommandNode { } /// Creates a new argument node. - pub fn argument + 'static>( + pub fn argument + 'static + Send + Sync>( name: Cow<'static, str>, command: Option>, argument: A, -- cgit 1.4.1