Remove pub from update_existing_submodules

This is not used anywhere outside this module.
This commit is contained in:
Eric Huss 2024-07-25 16:10:54 -07:00
parent 5fa6ede9d4
commit 6642f8dcfc

View file

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