Merge pull request #1493 from matthiasbeyer/fix-rustc-126

Fix comment for rustc 1.26
This commit is contained in:
Matthias Beyer 2018-05-11 15:45:36 +02:00 committed by GitHub
commit 7c44bc1aa3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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.