From 684aa2ad1c460c72c7ad1449e3d49af723afea1f Mon Sep 17 00:00:00 2001 From: AmrDeveloper Date: Fri, 5 Apr 2024 16:21:34 +0200 Subject: [PATCH] Fix format --- .github/workflows/ci.yaml | 10 +--------- src/schema.rs | 8 +++++++- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8541d70..be9469e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -18,12 +18,4 @@ jobs: steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - - run: cargo fmt --all -- --check - - clippy: - name: Clippy - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: dtolnay/rust-toolchain@stable - - run: cargo clippy -- -D warnings + - run: cargo fmt --all -- --check \ No newline at end of file diff --git a/src/schema.rs b/src/schema.rs index 49079d0..53b32f8 100644 --- a/src/schema.rs +++ b/src/schema.rs @@ -19,7 +19,13 @@ lazy_static! { let mut map = HashMap::new(); map.insert( "functions", - vec!["name", "signature", "args_count", "return_type", "is_method"], + vec![ + "name", + "signature", + "args_count", + "return_type", + "is_method", + ], ); map };