mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-20 20:48:43 +00:00
Add comment in fn resolve
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
c418c2dbbe
commit
6180e9ec3e
1 changed files with 1 additions and 0 deletions
|
@ -90,6 +90,7 @@ pub async fn resolve(
|
||||||
(None, None) => "*".to_string(),
|
(None, None) => "*".to_string(),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// Treat 0.1.2 as =0.1.2
|
||||||
if version
|
if version
|
||||||
.chars()
|
.chars()
|
||||||
.next()
|
.next()
|
||||||
|
|
Loading…
Add table
Reference in a new issue