summaryrefslogtreecommitdiffstats
path: root/lib/entry/libimagentrylink/src/external.rs
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2018-05-11 14:55:23 +0200
committerMatthias Beyer <mail@beyermatthias.de>2018-05-11 14:55:23 +0200
commit2e41656d1a5ff23a48aa91ae2240be7153176556 (patch)
treec6ae22937addf7411d1e3a06139e8d5add9021e1 /lib/entry/libimagentrylink/src/external.rs
parent30d5837950ee41b27b4ef04dd3089c863e229e49 (diff)
Fix comment for rustc 1.26
Diffstat (limited to 'lib/entry/libimagentrylink/src/external.rs')
-rw-r--r--lib/entry/libimagentrylink/src/external.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/entry/libimagentrylink/src/external.rs b/lib/entry/libimagentrylink/src/external.rs
index 2d5592c6..77a81849 100644
--- a/lib/entry/libimagentrylink/src/external.rs
+++ b/lib/entry/libimagentrylink/src/external.rs
@@ -134,12 +134,14 @@ pub mod iter {
/// The boolean value defines, how to interpret the `is_external_link_storeid()` return value
/// (here as "pred"):
///
+ /// ```ignore
/// pred | bool | xor | take?
/// ---- | ---- | --- | ----
/// 0 | 0 | 0 | 1
/// 0 | 1 | 1 | 0
/// 1 | 0 | 1 | 0
/// 1 | 1 | 0 | 1
+ /// ```
///
/// If `bool` says "take if return value is false", we take the element if the `pred` returns
/// false... and so on.