Annotate function with allow(dead_code)
This commit is contained in:
parent
54dd7c0d7e
commit
4641236c82
1 changed files with 1 additions and 0 deletions
|
@ -155,6 +155,7 @@ impl Configuration {
|
||||||
self.editor.as_ref()
|
self.editor.as_ref()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(dead_code)] // Why do I actually need this annotation on a pub function?
|
||||||
pub fn config(&self) -> &Value {
|
pub fn config(&self) -> &Value {
|
||||||
&self.config
|
&self.config
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue