diff options
Diffstat (limited to 'libc/src/dox.rs')
-rw-r--r-- | libc/src/dox.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libc/src/dox.rs b/libc/src/dox.rs index 33a9c16..6296c6c 100644 --- a/libc/src/dox.rs +++ b/libc/src/dox.rs @@ -52,6 +52,11 @@ mod imp { #[lang = "sized"] pub trait Sized {} + #[lang = "receiver"] + pub trait Receiver {} + impl<T: ?Sized> Receiver for &T {} + impl<T: ?Sized> Receiver for &mut T {} + macro_rules! each_int { ($mac:ident) => { $mac!(u8); |