1
Fork 0

Fix a comment

This commit is contained in:
Nadrieril 2020-12-22 11:28:17 +00:00
parent 85fdb34d3a
commit be23694622

View file

@ -852,10 +852,10 @@ enum WitnessPreference {
/// We'll perform the following steps: /// We'll perform the following steps:
/// 1. Start with an empty witness /// 1. Start with an empty witness
/// `Witness(vec![])` /// `Witness(vec![])`
/// 2. Push a witness `Some(_)` against the `None` /// 2. Push a witness `true` against the `false`
/// `Witness(vec![Some(_)])` /// `Witness(vec![true])`
/// 3. Push a witness `true` against the `false` /// 3. Push a witness `Some(_)` against the `None`
/// `Witness(vec![Some(_), true])` /// `Witness(vec![true, Some(_)])`
/// 4. Apply the `Pair` constructor to the witnesses /// 4. Apply the `Pair` constructor to the witnesses
/// `Witness(vec![Pair(Some(_), true)])` /// `Witness(vec![Pair(Some(_), true)])`
/// ///