Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update generated bindings #194

Closed

Update generated bindings

7d511d4
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Closed

Update generated bindings #194

Update generated bindings
7d511d4
Select commit
Loading
Failed to load commit list.
GitHub Actions / clippy succeeded Aug 25, 2023 in 0s

clippy

7 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 7
Note 0
Help 0

Versions

  • rustc 1.71.1 (eb26296b5 2023-08-03)
  • cargo 1.71.1 (7f1d04c00 2023-07-29)
  • clippy 0.1.71 (eb26296 2023-08-03)

Annotations

Check warning on line 1102 in tutorial/src/24_sampler.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

manual slice size calculation

warning: manual slice size calculation
    --> tutorial/src/24_sampler.rs:1102:16
     |
1102 |     let size = (size_of::<u16>() * INDICES.len()) as u64;
     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `std::mem::size_of_val(INDICES)`
     |
     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_slice_size_calculation
     = note: `#[warn(clippy::manual_slice_size_calculation)]` on by default

Check warning on line 996 in tutorial/src/22_descriptor_sets.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

manual slice size calculation

warning: manual slice size calculation
   --> tutorial/src/22_descriptor_sets.rs:996:16
    |
996 |     let size = (size_of::<u16>() * INDICES.len()) as u64;
    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `std::mem::size_of_val(INDICES)`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_slice_size_calculation
    = note: `#[warn(clippy::manual_slice_size_calculation)]` on by default

Check warning on line 988 in tutorial/src/21_descriptor_layout.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

manual slice size calculation

warning: manual slice size calculation
   --> tutorial/src/21_descriptor_layout.rs:988:16
    |
988 |     let size = (size_of::<u16>() * INDICES.len()) as u64;
    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `std::mem::size_of_val(INDICES)`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_slice_size_calculation
    = note: `#[warn(clippy::manual_slice_size_calculation)]` on by default

Check warning on line 913 in tutorial/src/20_index_buffer.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

manual slice size calculation

warning: manual slice size calculation
   --> tutorial/src/20_index_buffer.rs:913:16
    |
913 |     let size = (size_of::<u16>() * INDICES.len()) as u64;
    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `std::mem::size_of_val(INDICES)`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_slice_size_calculation
    = note: `#[warn(clippy::manual_slice_size_calculation)]` on by default

Check warning on line 1226 in tutorial/src/26_depth_buffering.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

manual slice size calculation

warning: manual slice size calculation
    --> tutorial/src/26_depth_buffering.rs:1226:16
     |
1226 |     let size = (size_of::<u16>() * INDICES.len()) as u64;
     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `std::mem::size_of_val(INDICES)`
     |
     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_slice_size_calculation
     = note: `#[warn(clippy::manual_slice_size_calculation)]` on by default

Check warning on line 1108 in tutorial/src/25_texture_mapping.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

manual slice size calculation

warning: manual slice size calculation
    --> tutorial/src/25_texture_mapping.rs:1108:16
     |
1108 |     let size = (size_of::<u16>() * INDICES.len()) as u64;
     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `std::mem::size_of_val(INDICES)`
     |
     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_slice_size_calculation
     = note: `#[warn(clippy::manual_slice_size_calculation)]` on by default

Check warning on line 1087 in tutorial/src/23_texture_image.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

manual slice size calculation

warning: manual slice size calculation
    --> tutorial/src/23_texture_image.rs:1087:16
     |
1087 |     let size = (size_of::<u16>() * INDICES.len()) as u64;
     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `std::mem::size_of_val(INDICES)`
     |
     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_slice_size_calculation
     = note: `#[warn(clippy::manual_slice_size_calculation)]` on by default