summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-05-31 13:57:27 +0000
committerbors <bors@rust-lang.org>2018-05-31 13:57:27 +0000
commiteb75e53f552b339754a550d1fbc6fa09540e8143 (patch)
treef3204c26c1d22170f10e2b932e6291e4658c72d4
parent9f3681c35c040cb643d65268e955838bfc1fe341 (diff)
parent020a68a1c4e43f5b3eb8d682246a207d617ff896 (diff)
downloadrust-libc-eb75e53f552b339754a550d1fbc6fa09540e8143.tar.gz
Auto merge of #1004 - canndrew:fix-size_of, r=alexcrichton
fix size_of function in dox.rs I'm assuming this is meant to have the same signature as the one in core/std
-rw-r--r--src/dox.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dox.rs b/src/dox.rs
index d3f9ccc3ce..941b65cc74 100644
--- a/src/dox.rs
+++ b/src/dox.rs
@@ -160,6 +160,6 @@ mod imp {
pub mod mem {
pub fn size_of_val<T>(_: &T) -> usize { 4 }
- pub fn size_of<T>(_: &T) -> usize { 4 }
+ pub fn size_of<T>() -> usize { 4 }
}
}