diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-01-11 22:54:12 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-01-11 22:54:12 -0800 |
| commit | 175196bbb8057d21959feb51cf07f3518e9ef247 (patch) | |
| tree | 5d300eb0087bcf199099a16d62b5a9b058d742fb /src/libcore | |
| parent | 2592422150fefb75e2bfa8b894b3b99d364ffd93 (diff) | |
| download | rust-175196bbb8057d21959feb51cf07f3518e9ef247.tar.gz rust-175196bbb8057d21959feb51cf07f3518e9ef247.zip | |
libcore: Fix long lines
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/bool.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libcore/bool.rs b/src/libcore/bool.rs index 4b673c79f81..fa8a5d2e7c0 100644 --- a/src/libcore/bool.rs +++ b/src/libcore/bool.rs @@ -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 } @@ -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); |
