mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-21 21:18:42 +00:00
Mark binstalk_manifests::cargo_crates_v1::CratesToml::insert private (#1818)
It uses a private type so it should not have public visibility. Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
This commit is contained in:
parent
0fe605f7f0
commit
74af0e7f8a
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ impl CratesToml<'_> {
|
|||
|
||||
/// Only use it when you know that the crate is not in the manifest.
|
||||
/// Otherwise, you need to call [`CratesToml::remove`] first.
|
||||
pub fn insert(&mut self, cvs: &CrateVersionSource, bins: Vec<CompactString>) {
|
||||
fn insert(&mut self, cvs: &CrateVersionSource, bins: Vec<CompactString>) {
|
||||
self.v1.push((cvs.to_string(), Cow::owned(bins)));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue