mirror of
https://github.com/openai/codex.git
synced 2026-05-01 11:52:10 +03:00
Add argument-comment Dylint runner (#14651)
This commit is contained in:
10
tools/argument-comment-lint/ui/comment_mismatch.rs
Normal file
10
tools/argument-comment-lint/ui/comment_mismatch.rs
Normal file
@@ -0,0 +1,10 @@
|
||||
#![warn(argument_comment_mismatch)]
|
||||
|
||||
fn create_openai_url(base_url: Option<String>) -> String {
|
||||
let _ = base_url;
|
||||
String::new()
|
||||
}
|
||||
|
||||
fn main() {
|
||||
let _ = create_openai_url(/*api_base*/ None);
|
||||
}
|
||||
Reference in New Issue
Block a user