Fix comment for rustc 1.26

This commit is contained in:
Matthias Beyer 2018-05-11 14:55:23 +02:00
parent 30d5837950
commit 2e41656d1a

View file

@ -134,12 +134,14 @@ pub mod iter {
/// The boolean value defines, how to interpret the `is_external_link_storeid()` return value /// The boolean value defines, how to interpret the `is_external_link_storeid()` return value
/// (here as "pred"): /// (here as "pred"):
/// ///
/// ```ignore
/// pred | bool | xor | take? /// pred | bool | xor | take?
/// ---- | ---- | --- | ---- /// ---- | ---- | --- | ----
/// 0 | 0 | 0 | 1 /// 0 | 0 | 0 | 1
/// 0 | 1 | 1 | 0 /// 0 | 1 | 1 | 0
/// 1 | 0 | 1 | 0 /// 1 | 0 | 1 | 0
/// 1 | 1 | 0 | 1 /// 1 | 1 | 0 | 1
/// ```
/// ///
/// If `bool` says "take if return value is false", we take the element if the `pred` returns /// If `bool` says "take if return value is false", we take the element if the `pred` returns
/// false... and so on. /// false... and so on.