mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-31 21:47:15 +03:00
libcore: Fix long lines
This commit is contained in:
+4
-2
@@ -36,7 +36,8 @@
|
||||
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 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);
|
||||
|
||||
Reference in New Issue
Block a user