mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-18 10:07:28 +00:00
settings: fix a clippy warning
This commit is contained in:
parent
9831b82a98
commit
9dbf32db3a
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ impl UserSettings {
|
|||
pub fn push_branch_prefix(&self) -> String {
|
||||
self.config
|
||||
.get_string("push.branch-prefix")
|
||||
.unwrap_or("push-".to_string())
|
||||
.unwrap_or_else(|_| "push-".to_string())
|
||||
}
|
||||
|
||||
pub fn signature(&self) -> Signature {
|
||||
|
|
Loading…
Reference in a new issue