diff --git a/.gitignore b/.gitignore index 5d44027bf..ffb505477 100644 --- a/.gitignore +++ b/.gitignore @@ -83,8 +83,3 @@ $RECYCLE.BIN/ /.dart_tool/**/* # Rust stuff - -# By default ignore Cargo.lock -# Specifically exclude it in the directory it appears, if its required. -# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html -Cargo.lock diff --git a/rust/.gitignore b/rust/.gitignore index 8afaf0c8e..a8c0462f9 100644 --- a/rust/.gitignore +++ b/rust/.gitignore @@ -4,6 +4,11 @@ debug/ target/ +# By default ignore Cargo.lock +# Specifically exclude it in the directory it appears, if its required. +# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html +Cargo.lock + # These are backup files generated by rustfmt **/*.rs.bk