Remove redundant dereferences

This commit is contained in:
Roey Darwish Dror
2021-09-02 07:27:09 +03:00
parent bde3600b9a
commit a39b4f846c
7 changed files with 13 additions and 14 deletions

View File

@@ -620,8 +620,7 @@ impl Config {
/// Extra trizen arguments
#[allow(dead_code)]
pub fn trizen_arguments(&self) -> &str {
&self
.config_file
self.config_file
.linux
.as_ref()
.and_then(|s| s.trizen_arguments.as_deref())