about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorRoland Tanglao <roland@rolandtanglao.com>2012-01-17 11:56:13 -0800
committerRoland Tanglao <roland@rolandtanglao.com>2012-01-17 11:56:13 -0800
commit93be00f99594464fc753796395ce0cfb8ee790ea (patch)
tree694056721f7ebfba03c9068a190c7d55152c7676 /src/libcore
parent315e3ff8dd73418b6730451d91e0032c8abe2f49 (diff)
downloadrust-93be00f99594464fc753796395ce0cfb8ee790ea.tar.gz
rust-93be00f99594464fc753796395ce0cfb8ee790ea.zip
Remove un-needed &lt;
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/char.rs2
-rw-r--r--src/libcore/comm.rs4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/libcore/char.rs b/src/libcore/char.rs
index b92536db994..2c46c652cd0 100644
--- a/src/libcore/char.rs
+++ b/src/libcore/char.rs
@@ -140,7 +140,7 @@ pure fn to_upper(c: char) -> char {
 
 #[doc(
   brief =  "Compare two chars.",
-  return = "-1 if a&lt;b, 0 if a==b, +1 if a>b"
+  return = "-1 if a<b, 0 if a==b, +1 if a>b"
 )]
 pure fn cmp(a: char, b: char) -> int {
     ret  if b > a { -1 }
diff --git a/src/libcore/comm.rs b/src/libcore/comm.rs
index 1976e4b9c1a..f9e95edf5e2 100644
--- a/src/libcore/comm.rs
+++ b/src/libcore/comm.rs
@@ -11,7 +11,7 @@
            shared boxes (@T) may not be transmitted across channels. \
            Example: \
                let p = comm::port(); \
-               task::spawn(comm::chan(p), fn (c: chan&lt;str>) { \
+               task::spawn(comm::chan(p), fn (c: chan<str>) { \
                    comm::send(c, \"Hello, World\"); \
                }); \
                io::println(comm::recv(p));"
@@ -87,7 +87,7 @@ resource port_ptr<T: send>(po: *rustrt::rust_port) {
   desc = "Each port has a unique per-task identity and may not \
           be replicated or transmitted. If a port value is \
           copied, both copies refer to the same port. \
-          Ports may be associated with multiple &lt;chan>s."
+          Ports may be associated with multiple <chan>s."
 )]
 tag port<T: send> { port_t(@port_ptr<T>); }