mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00
fix: Make v1 field private
This commit is contained in:
parent
911ba6e4e9
commit
1b71fa3efc
@ -29,7 +29,7 @@ pub struct Empty {}
|
|||||||
|
|
||||||
#[derive(Deserialize, Serialize)]
|
#[derive(Deserialize, Serialize)]
|
||||||
pub struct CrateListingV1 {
|
pub struct CrateListingV1 {
|
||||||
pub v1: BTreeMap<PackageId, BTreeSet<String>>,
|
v1: BTreeMap<PackageId, BTreeSet<String>>,
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn resolve_root(flag: Option<&str>, config: &Config) -> CargoResult<Filesystem> {
|
pub fn resolve_root(flag: Option<&str>, config: &Config) -> CargoResult<Filesystem> {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user