File size: 499 Bytes
17f328f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#![warn(argument_comment_mismatch)]
#![warn(uncommented_anonymous_literal_argument)]

struct Builder;

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

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

    fn base_url(self, base_url: Option<String>) -> Self {
        let _ = base_url;
        self
    }
}

fn main() {
    let _ = Builder.enabled(false).retry_count(3).base_url(None);
}