Base: codex-main originale (prima del fork aKode)
This commit is contained in:
20
tools/argument-comment-lint/ui/comment_mismatch.rs
Normal file
20
tools/argument-comment-lint/ui/comment_mismatch.rs
Normal file
@@ -0,0 +1,20 @@
|
||||
#![warn(argument_comment_mismatch)]
|
||||
|
||||
fn create_openai_url(base_url: Option<String>) -> String {
|
||||
let _ = base_url;
|
||||
String::new()
|
||||
}
|
||||
|
||||
struct Options;
|
||||
|
||||
impl Options {
|
||||
fn enabled(self, enabled: bool) -> Self {
|
||||
let _ = enabled;
|
||||
self
|
||||
}
|
||||
}
|
||||
|
||||
fn main() {
|
||||
let _ = create_openai_url(/*api_base*/ None);
|
||||
let _ = Options.enabled(/*value*/ false);
|
||||
}
|
||||
Reference in New Issue
Block a user