Skip to content

Commit

Permalink
don't require send and sync for simple pushing
Browse files Browse the repository at this point in the history
  • Loading branch information
catornot committed Aug 31, 2024
1 parent a7616e8 commit 4c4c384
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/high/squirrel_traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ pub trait IntoSquirrelArgs {
fn into_push(self, sqvm: NonNull<HSquirrelVM>, sqfunctions: &'static SquirrelFunctions) -> i32;
}

impl<T: PushToSquirrelVm + Send + Sync + 'static> IntoSquirrelArgs for T {
impl<T: PushToSquirrelVm> IntoSquirrelArgs for T {
fn into_push(self, sqvm: NonNull<HSquirrelVM>, sqfunctions: &'static SquirrelFunctions) -> i32 {
// hack :(
// no specialization
Expand Down

0 comments on commit 4c4c384

Please sign in to comment.