aboutsummaryrefslogtreecommitdiff
path: root/libc/src/dox.rs
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2019-01-14 09:37:41 -0800
committerDaniel Mueller <deso@posteo.net>2019-01-14 09:37:41 -0800
commitd8e4f651a453a37345153a3dfc8593f2419b08af (patch)
tree72e161dd029d23253e64b747707848d3cca58527 /libc/src/dox.rs
parente7ecdef19097428d81a8de65713cb7f36c780b57 (diff)
downloadnitrocli-d8e4f651a453a37345153a3dfc8593f2419b08af.tar.gz
nitrocli-d8e4f651a453a37345153a3dfc8593f2419b08af.tar.bz2
Update libc crate to 0.2.46
This change updates the libc crate to version 0.2.46. Import subrepo libc/:libc at a9e3cc6c1b529eaffef5b82934d0c47203edebe5
Diffstat (limited to 'libc/src/dox.rs')
-rw-r--r--libc/src/dox.rs5
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);