We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa97735 commit dd38ff9Copy full SHA for dd38ff9
src/detours/statik.rs
@@ -1,6 +1,7 @@
1
use crate::error::{Error, Result};
2
use crate::traits::TupCons;
3
use crate::{Function, GenericDetour};
4
+use std::marker::Tuple;
5
use std::sync::atomic::{AtomicPtr, Ordering};
6
use std::{mem, ptr};
7
src/traits.rs
@@ -9,7 +9,7 @@ use std::marker::Tuple;
9
/// detouring.
10
pub unsafe trait Function: Sized + Copy + Sync + 'static {
11
/// The argument types as a tuple.
12
- type Arguments;
+ type Arguments: Tuple;
13
14
/// The return type.
15
type Output;
0 commit comments