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

Feat/better mixer #50

Merged
merged 88 commits into from
Oct 12, 2024

chore: change `0.` to `0.0`

edd08f3
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Feat/better mixer #50

chore: change `0.` to `0.0`
edd08f3
Select commit
Loading
Failed to load commit list.
GitHub Actions / clippy succeeded Oct 12, 2024 in 0s

clippy

2 warnings

Details

Results

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

Versions

  • rustc 1.83.0-nightly (1bc403daa 2024-10-11)
  • cargo 1.83.0-nightly (15fbd2f60 2024-10-08)
  • clippy 0.1.83 (1bc403d 2024-10-11)

Annotations

Check warning on line 26 in engine/src/asset/pack_file.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

docs for function returning `Result` missing `# Errors` section

warning: docs for function returning `Result` missing `# Errors` section
  --> engine/src/asset/pack_file.rs:26:5
   |
26 |     pub fn new(input: &[u8]) -> Result<Self> {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
   = note: `#[warn(clippy::missing_errors_doc)]` implied by `#[warn(clippy::pedantic)]`

Check warning on line 18 in engine/src/asset/color_map.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

docs for function which may panic missing `# Panics` section

warning: docs for function which may panic missing `# Panics` section
  --> engine/src/asset/color_map.rs:18:5
   |
18 |     pub fn from_12_bit(color: u16) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
note: first possible panic found here
  --> engine/src/asset/color_map.rs:20:9
   |
20 |         assert!(color <= 0xFFF, "12 bit color is smaller than 0xFFF");
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_panics_doc
note: the lint level is defined here
  --> engine/src/lib.rs:1:9
   |
1  | #![warn(clippy::pedantic)]
   |         ^^^^^^^^^^^^^^^^
   = note: `#[warn(clippy::missing_panics_doc)]` implied by `#[warn(clippy::pedantic)]`