Skip to content

Commit 7f87814

Browse files
authored
Merge pull request rust-lang#19156 from programmerjake/patch-1
add cargo's git checkouts to the list of paths to mark as read-only in vscode
2 parents 1951cf5 + bad69a3 commit 7f87814

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/tools/rust-analyzer/editors/code/walkthrough-setup-tips.md

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Add the following to settings.json to mark Rust library sources as read-only:
55
```json
66
"files.readonlyInclude": {
77
"**/.cargo/registry/src/**/*.rs": true,
8+
"**/.cargo/git/checkouts/**/*.rs": true,
89
"**/lib/rustlib/src/rust/library/**/*.rs": true,
910
},
1011
```

0 commit comments

Comments
 (0)