Disable warnings
This commit is contained in:
parent
8b1d3371e9
commit
bc7726d520
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue