Fix example in docs
This commit is contained in:
parent
52408f5b7d
commit
7e8afe2001
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user