File size: 279 Bytes
17f328f
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#![warn(uncommented_anonymous_literal_argument)]

struct Options;

impl Options {
    fn enabled(self, enabled: bool, retry_count: usize) -> Self {
        let _ = (enabled, retry_count);
        self
    }
}

fn main() {
    let _ = Options.enabled(false, /*retry_count*/ 3);
}