We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5ff67b commit 53c9a65Copy full SHA for 53c9a65
xtask/src/codegen/gen_lint_completions.rs
@@ -16,7 +16,7 @@ use crate::{
16
17
pub fn generate_lint_completions(mode: Mode) -> Result<()> {
18
if !Path::new("./target/rust").exists() {
19
- run!("git clone https://github.com/rust-lang/rust ./target/rust")?;
+ run!("git clone --depth=1 https://github.com/rust-lang/rust ./target/rust")?;
20
}
21
22
let ts_features = generate_descriptor("./target/rust/src/doc/unstable-book/src".into())?;
0 commit comments