1
0
Fork 0

Disable warnings

This commit is contained in:
Alex Kotov 2021-12-05 20:41:25 +05:00
parent 8b1d3371e9
commit bc7726d520
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08

View file

@ -32,6 +32,7 @@ impl TaskInfo {
Self { config, pid }
}
#[allow(dead_code)]
pub fn config(&self) -> &TaskConfig {
&self.config
}
@ -46,7 +47,8 @@ impl TaskResult {
Self { info, status }
}
pub fn into(&self) -> &TaskInfo {
#[allow(dead_code)]
pub fn info(&self) -> &TaskInfo {
&self.info
}