Annotate function with allow(dead_code)

This commit is contained in:
Matthias Beyer 2016-04-17 20:48:03 +02:00
parent 54dd7c0d7e
commit 4641236c82
1 changed files with 1 additions and 0 deletions

View File

@ -155,6 +155,7 @@ impl Configuration {
self.editor.as_ref()
}
#[allow(dead_code)] // Why do I actually need this annotation on a pub function?
pub fn config(&self) -> &Value {
&self.config
}