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

warnings while building 0.10.0 #17

Closed
0323pin opened this issue Aug 31, 2023 · 2 comments · Fixed by #16 or #42
Closed

warnings while building 0.10.0 #17

0323pin opened this issue Aug 31, 2023 · 2 comments · Fixed by #16 or #42

Comments

@0323pin
Copy link
Contributor

0323pin commented Aug 31, 2023

Updating the NetBSD package to the latest 0.10.0
Rust-1.71.1

FI,

Compiling ini-material-color-utilities-rs v0.4.0 (/usr/pkgsrc/wip/matugen/work/matugen-matugen-v0.10.0/material-color-utilities-rs)
warning: unused import: `linearized`
 --> material-color-utilities-rs/src/htc/cam16.rs:4:41
  |
4 | use crate::util::color::{argb_from_xyz, linearized, xyz_from_argb};
  |                                         ^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default

   Compiling resolve-path v0.1.0
warning: associated function `new` is never used
   --> material-color-utilities-rs/src/htc/cam16.rs:119:8
    |
34  | impl Cam16 {
    | ---------- associated function in this implementation
...
119 |     fn new(
    |        ^^^
    |
    = note: `#[warn(dead_code)]` on by default

   Compiling directories v5.0.1
   Compiling toml v0.7.3
   Compiling pretty_env_logger v0.4.0
   Compiling colorsys v0.6.7
warning: `ini-material-color-utilities-rs` (lib) generated 2 warnings (run `cargo fix --lib -p ini-material-color-utilities-rs` to apply 1 suggestion)
@InioX
Copy link
Owner

InioX commented Sep 2, 2023

Hi, sorry for the late reply.

I somehow completely forgot about the library when running the command on the crate. I'll run the command when I'm on my computer, thanks for the notice.

@InioX InioX closed this as completed in 96df512 Sep 17, 2023
@github-actions github-actions bot mentioned this issue Sep 17, 2023
@0323pin
Copy link
Contributor Author

0323pin commented Sep 17, 2023

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants