mirror of
https://github.com/ankitects/anki.git
synced 2026-01-13 22:13:58 -05:00
Fix clippy warning
This commit is contained in:
parent
c7445f76b1
commit
94117603c7
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ fn locate_git_head() -> Option<BuildInput> {
|
|||
.filter_map(|p| {
|
||||
let head = p.unwrap().path().join("HEAD");
|
||||
if head.exists() {
|
||||
Some(head.as_str().replace(':', "$:").to_string())
|
||||
Some(head.as_str().replace(':', "$:"))
|
||||
} else {
|
||||
None
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue