Skip to content

Commit 72391cd

Browse files
committed
fix: remove unused import and suppress deprecation warning
- Remove unused `CodeownersEntry` import from common.rs - Add #[allow(deprecated)] to suppress cargo_bin deprecation in tests
1 parent 9c18c9d commit 72391cd

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

ci/tests/test_cli.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ use std::fs;
44
use tempfile::TempDir;
55

66
/// Get the CLI command for testing
7+
#[allow(deprecated)]
78
fn ci() -> Command {
89
Command::cargo_bin("ci").unwrap()
910
}

codeinput/src/core/common.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ use ignore::Walk;
44
use sha2::{Digest, Sha256};
55
use std::path::{Path, PathBuf};
66

7-
use super::types::CodeownersEntry;
8-
97
/// Maximum recursion depth for finding CODEOWNERS files (prevents stack overflow on deep structures)
108
const MAX_RECURSION_DEPTH: usize = 100;
119

0 commit comments

Comments
 (0)