mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-20 20:48:43 +00:00
Set vis of find_version
to pub(super)
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
6c6055da69
commit
0eb9424f17
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ use semver::{Version, VersionReq};
|
|||
|
||||
use crate::BinstallError;
|
||||
|
||||
pub(crate) fn find_version<'a, V: Iterator<Item = &'a String>>(
|
||||
pub(super) fn find_version<'a, V: Iterator<Item = &'a String>>(
|
||||
requirement: &str,
|
||||
version_iter: V,
|
||||
) -> Result<Version, BinstallError> {
|
||||
|
|
Loading…
Add table
Reference in a new issue