diff options
| author | Eric Huss <eric@huss.org> | 2024-07-25 16:10:54 -0700 |
|---|---|---|
| committer | Eric Huss <eric@huss.org> | 2024-07-25 16:10:54 -0700 |
| commit | 6642f8dcfcd44d7d4723c002b204e22b3255d70e (patch) | |
| tree | 7746798807cb7b72a709435a44df553af71e9ce8 /src/bootstrap | |
| parent | 5fa6ede9d4d42c9b656fdcb67fb853958fcc4244 (diff) | |
| download | rust-6642f8dcfcd44d7d4723c002b204e22b3255d70e.tar.gz rust-6642f8dcfcd44d7d4723c002b204e22b3255d70e.zip | |
Remove `pub` from update_existing_submodules
This is not used anywhere outside this module.
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/src/lib.rs b/src/bootstrap/src/lib.rs index 79bea50c626..e461105aba2 100644 --- a/src/bootstrap/src/lib.rs +++ b/src/bootstrap/src/lib.rs @@ -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; |
