Skip to content

Commit

Permalink
Remove un-needed <
Browse files Browse the repository at this point in the history
  • Loading branch information
rtanglao committed Jan 17, 2012
1 parent 315e3ff commit 93be00f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/libcore/char.rs
Expand Up @@ -140,7 +140,7 @@ pure fn to_upper(c: char) -> char {

#[doc(
brief = "Compare two chars.",
return = "-1 if a<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 }
Expand Down
4 changes: 2 additions & 2 deletions src/libcore/comm.rs
Expand Up @@ -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));"
Expand Down Expand Up @@ -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>); }

Expand Down

0 comments on commit 93be00f

Please sign in to comment.