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: /// mismatches by enforcing types in the method implementations:
/// ///
/// ``` /// ```
/// # trait ResType { fn foo(&self); }; /// # trait ResType { fn foo(&self); }
/// # struct ParamType; /// # struct ParamType;
/// # mod foreign_lib { /// # mod foreign_lib {
/// # pub fn new(_: usize) -> *mut () { 42 as *mut () } /// # pub fn new(_: usize) -> *mut () { 42 as *mut () }