about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWei-Ming Yang <rick68@users.noreply.github.com>2015-05-08 20:44:11 +0800
committerWei-Ming Yang <rick68@users.noreply.github.com>2015-05-08 20:44:11 +0800
commita4ec372a1e8149df2e942b561915c5f08035055c (patch)
tree5f8b5d66857897e65a4702d56416d1fabee76a5b
parentb402c43f088882db8a03bfcbb5eb8429ef7def0e (diff)
downloadrust-a4ec372a1e8149df2e942b561915c5f08035055c.tar.gz
rust-a4ec372a1e8149df2e942b561915c5f08035055c.zip
fixed a mistake
-rw-r--r--src/libcore/marker.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/marker.rs b/src/libcore/marker.rs
index 04839b12ac8..1bd0b3638c6 100644
--- a/src/libcore/marker.rs
+++ b/src/libcore/marker.rs
@@ -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 () }