Base: codex-main originale (prima del fork aKode)
This commit is contained in:
14
tools/argument-comment-lint/ui/multiple_method_arguments.rs
Normal file
14
tools/argument-comment-lint/ui/multiple_method_arguments.rs
Normal file
@@ -0,0 +1,14 @@
|
||||
#![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);
|
||||
}
|
||||
Reference in New Issue
Block a user