Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
admin committed Jan 14, 2025
1 parent 4db3d35 commit a4ee3c7
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 54 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
save-if: ${{ matrix.ffmpeg.version == '7.1' }}

- name: Check format
run: cargo fmt -- --check
run: cargo fmt --all -- --check
- name: Lint
run: cargo clippy --all-targets $CARGO_FEATURES
- name: Build
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
prefix-key: "v2-rust"

- name: Check format
run: cargo fmt -- --check
run: cargo fmt --all -- --check
- name: Lint
run: cargo clippy --all-targets $CARGO_FEATURES
- name: Build
Expand Down Expand Up @@ -172,7 +172,7 @@ jobs:
save-if: ${{ matrix.ffmpeg_version == '7.1' }}

- name: Check format
run: cargo fmt -- --check
run: cargo fmt --all --- --check
- name: Lint
run: cargo clippy --all-targets $CARGO_FEATURES
- name: Build
Expand Down
96 changes: 46 additions & 50 deletions Cargo.lock.MSRV

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ffmpeg-sys-third/src/avutil/pixfmt.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use libc::c_int;

use crate::{AVChromaLocation, AVPixelFormat};
use crate::AVPixelFormat::*;
use crate::{AVChromaLocation, AVPixelFormat};

impl AVChromaLocation {
pub fn from_c_int(n: c_int) -> Option<Self> {
Expand Down

0 comments on commit a4ee3c7

Please sign in to comment.