From afa317a66a0036a2f3b0bd1551d248b86bb8fffb Mon Sep 17 00:00:00 2001 From: AmeKnite <104745335+ameknite@users.noreply.github.com> Date: Thu, 16 Nov 2023 20:32:10 -0600 Subject: [PATCH] wtf is this --- .github/workflows/ci.yml | 4 ++-- crates/bevy_gltf/src/lib.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4687975e0301a..f1bc19e91bdb3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,7 +57,7 @@ jobs: key: ${{ runner.os }}-cargo-ci-${{ hashFiles('**/Cargo.toml') }} - uses: dtolnay/rust-toolchain@stable with: - components: rustfmt, clippy + components: clippy # - name: Install alsa and udev # run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev - name: CI job @@ -68,7 +68,7 @@ jobs: pwd cargo clippy --version cargo clippy -- -Dwarnings - cargo clippy -- -Dwarnings + cargo clippy --all -- -D warnings # miri: # runs-on: ubuntu-latest diff --git a/crates/bevy_gltf/src/lib.rs b/crates/bevy_gltf/src/lib.rs index b03037c3e0d60..559c8ae3c8e63 100644 --- a/crates/bevy_gltf/src/lib.rs +++ b/crates/bevy_gltf/src/lib.rs @@ -37,7 +37,7 @@ impl GltfPlugin { /// `name` must be the attribute name as found in the glTF data, which must start with an underscore. /// See [this section of the glTF specification](https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#meshes-overview) /// for additional details on custom attributes. - pub fn addcustomVertex_attribute( + pub fn add_custom_vertex_attribute( mut self, name: &str, attribute: MeshVertexAttribute,