-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
Thank you for the scheduler.
Compiling system76-scheduler-config v2.0.2 (/var/tmp/pamac-build-pkehl/system76-scheduler-git/src/system76-scheduler/config)
warning: method `get_string` is never used
--> config/src/kdl.rs:21:8
|
15 | pub trait NodeExt {
| ------- method in this trait
...
21 | fn get_string(&self, index: impl Into<NodeKey>) -> Option<&str>;
| ^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: `system76-scheduler-config` (lib) generated 1 warning
Compiling tracing-subscriber v0.3.16
...
grep -r get_string config data execsnoop/ daemon/ debian/ pipewire/
config/src/kdl.rs: fn get_string(&self, index: impl Into<NodeKey>) -> Option<&str>;
config/src/kdl.rs: fn get_string(&self, index: impl Into<NodeKey>) -> Option<&str> {
As per config/src/lib.rs, kdl module is crate-public only: pub(crate) mod kdl;.
Should it be
- removed, or
- marked with
#[allow(dead_code)]?
I'm willing to create a pull request.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels