Fix example in docs

This commit is contained in:
James Wang 2019-09-24 17:05:43 -05:00
parent 52408f5b7d
commit 7e8afe2001
No known key found for this signature in database
GPG Key ID: 5B80C0B3F263CD5B

View File

@ -36,7 +36,7 @@
/// # fn b() {}
/// # fn c() {}
/// fn f(x: u8, y: u8) {
/// match x.cmp(y) {
/// match x.cmp(&y) {
/// Ordering::Greater => a(),
/// Ordering::Less => b(),
/// Ordering::Equal => c()