Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 6642f8d

Browse files
committed
Remove pub from update_existing_submodules
This is not used anywhere outside this module.
1 parent 5fa6ede commit 6642f8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ impl Build {
582582

583583
/// If any submodule has been initialized already, sync it unconditionally.
584584
/// This avoids contributors checking in a submodule change by accident.
585-
pub fn update_existing_submodules(&self) {
585+
fn update_existing_submodules(&self) {
586586
// Avoid running git when there isn't a git checkout.
587587
if !self.config.submodules(self.rust_info()) {
588588
return;

0 commit comments

Comments
 (0)