reduce compiler warnings
This commit is contained in:
1 parent
383e857749
commit
728797d0c1
4 files changed
+9
-9
No files matched your search
@@ -78,7 +78,7 @@ pub fn save_config(config: &SectionConfigData) -> Result<(), Error> {
|
||||
}
|
||||
|
||||
// shell completion helper
|
||||
pub fn complete_datastore_name(arg: &str) -> Vec<String> {
|
||||
pub fn complete_datastore_name(_arg: &str) -> Vec<String> {
|
||||
match config() {
|
||||
Ok(data) => data.sections.iter().map(|(id,_)| id.to_string()).collect(),
|
||||
Err(_) => return vec![],
|
||||
|
||||
Reference in new issue
Block a user