fixed a mistake

This commit is contained in:
Wei-Ming Yang 2015-05-08 20:44:11 +08:00
parent b402c43f08
commit a4ec372a1e

View file

@ -313,7 +313,7 @@ macro_rules! impls{
/// mismatches by enforcing types in the method implementations:
///
/// ```
/// # trait ResType { fn foo(&self); };
/// # trait ResType { fn foo(&self); }
/// # struct ParamType;
/// # mod foreign_lib {
/// # pub fn new(_: usize) -> *mut () { 42 as *mut () }