Skip to content

chore: code cleanup. #239

chore: code cleanup.

chore: code cleanup. #239

Triggered via pull request October 15, 2024 00:22
Status Failure
Total duration 1m 20s
Artifacts

test.yml

on: pull_request
ubuntu / nightly / direct-minimal-versions
38s
ubuntu / nightly / direct-minimal-versions
Matrix: os-check
Matrix: required
Fit to window
Zoom out
Zoom in

Annotations

1 error and 2 warnings
ubuntu / nightly
Process completed with exit code 5.
docs for function returning `Result` missing `# Errors` section: ashen/src/asset/pack_file.rs#L26
warning: docs for function returning `Result` missing `# Errors` section --> ashen/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)]`
docs for function which may panic missing `# Panics` section: ashen/src/asset/color_map.rs#L18
warning: docs for function which may panic missing `# Panics` section --> ashen/src/asset/color_map.rs:18:5 | 18 | pub fn from_12_bit(color: u16) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: first possible panic found here --> ashen/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 --> ashen/src/lib.rs:1:9 | 1 | #![warn(clippy::pedantic)] | ^^^^^^^^^^^^^^^^ = note: `#[warn(clippy::missing_panics_doc)]` implied by `#[warn(clippy::pedantic)]`