1
Fork 0

documentation fix

This commit is contained in:
Ding Xiang Fei 2020-08-06 15:36:57 +08:00
parent d65c08e9cc
commit f9ccd39ae3
No known key found for this signature in database
GPG key ID: 3CD748647EEF6359
2 changed files with 10 additions and 5 deletions

View file

@ -28,8 +28,9 @@ use std::mem;
impl<'a, 'tcx> Builder<'a, 'tcx> {
/// Simplify a candidate so that all match pairs require a test.
///
/// This method will also split a candidate where the only match-pair is an
/// or-pattern into multiple candidates. This is so that
/// This method will also split a candidate, in which the only
/// match-pair is an or-pattern, into multiple candidates.
/// This is so that
///
/// match x {
/// 0 | 1 => { ... },