Skip to content

Commit

Permalink
refactor: remove unnecessary export so no need to deal with lock acqu…
Browse files Browse the repository at this point in the history
…isitions
  • Loading branch information
weihanglo committed Mar 26, 2024
1 parent e186bf4 commit 5587af7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/cargo/ops/cargo_generate_lockfile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ fn print_lockfile_sync(
Ok(())
}

pub fn print_lockfile_updates(
fn print_lockfile_updates(
gctx: &GlobalContext,
previous_resolve: &Resolve,
resolve: &Resolve,
Expand Down
1 change: 0 additions & 1 deletion src/cargo/ops/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ pub use self::cargo_doc::{doc, DocOptions, OutputFormat};
pub use self::cargo_fetch::{fetch, FetchOptions};
pub use self::cargo_generate_lockfile::generate_lockfile;
pub use self::cargo_generate_lockfile::print_lockfile_changes;
pub use self::cargo_generate_lockfile::print_lockfile_updates;
pub use self::cargo_generate_lockfile::update_lockfile;
pub use self::cargo_generate_lockfile::UpdateOptions;
pub use self::cargo_install::{install, install_list};
Expand Down

0 comments on commit 5587af7

Please sign in to comment.