Base: codex-main originale (prima del fork aKode)
This commit is contained in:
17
tools/argument-comment-lint/ui/comment_matches_multiline.rs
Normal file
17
tools/argument-comment-lint/ui/comment_matches_multiline.rs
Normal file
@@ -0,0 +1,17 @@
|
||||
#![warn(argument_comment_mismatch)]
|
||||
#![warn(uncommented_anonymous_literal_argument)]
|
||||
|
||||
fn run_git_for_stdout(repo_root: &str, args: Vec<&str>, env: Option<&str>) -> String {
|
||||
let _ = (repo_root, args, env);
|
||||
String::new()
|
||||
}
|
||||
|
||||
// Keep the call split across lines so this fixture tests multiline arguments.
|
||||
#[rustfmt::skip]
|
||||
fn main() {
|
||||
let _ = run_git_for_stdout(
|
||||
"/tmp/repo",
|
||||
vec!["rev-parse", "HEAD"],
|
||||
/*env*/ None,
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user