Remove pub from update_existing_submodules
This is not used anywhere outside this module.
This commit is contained in:
parent
5fa6ede9d4
commit
6642f8dcfc
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue