Skip to content

Commit

Permalink
libcore: Fix long lines
Browse files Browse the repository at this point in the history
  • Loading branch information
brson committed Jan 12, 2012
1 parent 2592422 commit 175196b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/libcore/bool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ pure fn xor(a: t, b: t) -> t { (a && !b) || (!a && b) }
pure fn implies(a: t, b: t) -> t { !a || b }

#[doc(
brief = "true if truth values `a` and `b` are indistinguishable in the logic"
brief = "true if truth values `a` and `b` \
are indistinguishable in the logic"
)]
pure fn eq(a: t, b: t) -> bool { a == b }

Expand Down Expand Up @@ -71,7 +72,8 @@ pure fn from_str(s: str) -> t {
pure fn to_str(v: t) -> str { if v { "true" } else { "false" } }

#[doc(
brief = "Iterates over all truth values by passing them to `blk` in an unspecified order"
brief = "Iterates over all truth values by passing them to `blk` \
in an unspecified order"
)]
fn all_values(blk: block(v: t)) {
blk(true);
Expand Down

0 comments on commit 175196b

Please sign in to comment.