diff --git a/Rust.gitignore b/Rust.gitignore index ff47c2d77d..83c8e71dc4 100644 --- a/Rust.gitignore +++ b/Rust.gitignore @@ -1,7 +1,5 @@ -# Generated by Cargo -# will have compiled files and executables -debug/ -target/ +# Generated by Cargo, contains compiled and executable files +/target # Remove Cargo.lock from gitignore if creating an executable, leave it for libraries # More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html