Add comment in fn resolve

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2022-07-21 13:00:58 +10:00
parent c418c2dbbe
commit 6180e9ec3e
No known key found for this signature in database
GPG key ID: 591C0B03040416D6

View file

@ -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()