Skip to content

Commit 93be00f

Browse files
committed
Remove un-needed <
1 parent 315e3ff commit 93be00f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/libcore/char.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ pure fn to_upper(c: char) -> char {
140140

141141
#[doc(
142142
brief = "Compare two chars.",
143-
return = "-1 if a<b, 0 if a==b, +1 if a>b"
143+
return = "-1 if a<b, 0 if a==b, +1 if a>b"
144144
)]
145145
pure fn cmp(a: char, b: char) -> int {
146146
ret if b > a { -1 }

src/libcore/comm.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
shared boxes (@T) may not be transmitted across channels. \
1212
Example: \
1313
let p = comm::port(); \
14-
task::spawn(comm::chan(p), fn (c: chan&lt;str>) { \
14+
task::spawn(comm::chan(p), fn (c: chan<str>) { \
1515
comm::send(c, \"Hello, World\"); \
1616
}); \
1717
io::println(comm::recv(p));"
@@ -87,7 +87,7 @@ resource port_ptr<T: send>(po: *rustrt::rust_port) {
8787
desc = "Each port has a unique per-task identity and may not \
8888
be replicated or transmitted. If a port value is \
8989
copied, both copies refer to the same port. \
90-
Ports may be associated with multiple &lt;chan>s."
90+
Ports may be associated with multiple <chan>s."
9191
)]
9292
tag port<T: send> { port_t(@port_ptr<T>); }
9393

0 commit comments

Comments
 (0)