Skip to content

Commit

Permalink
fix:remove unused log and skip cargo deny check
Browse files Browse the repository at this point in the history
  • Loading branch information
will-we committed Sep 11, 2024
1 parent 1c5f157 commit a92dce3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ repos:
description: Check cargo dependencies
entry: bash -c 'cargo deny check -d'
language: rust
files: \.rs$
exclude: '.*' # 跳过所有文件
args: []
- id: typos
name: typos
description: check typo
entry: bash -c 'typos'
language: rust
files: \.*$
exclude: '.*' # 跳过所有文件
pass_filenames: false
- id: cargo-check
name: cargo check
Expand Down
1 change: 0 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ fn main() -> anyhow::Result<()> {
// 读取csv文件
for record in reader.deserialize() {
let person: Person = record?;
println!(" {:?}", person);
persons.push(person);
}

Expand Down

0 comments on commit a92dce3

Please sign in to comment.