diff --git a/lang-trials/rust-benchmark-native/.gitignore b/lang-trials/rust-benchmark-native/.gitignore
index 5b910ca..238273d 100644
--- a/lang-trials/rust-benchmark-native/.gitignore
+++ b/lang-trials/rust-benchmark-native/.gitignore
@@ -1,3 +1,3 @@
-target/*
-dist/*
+target
+dist
 Cargo.lock
\ No newline at end of file
diff --git a/lang-trials/rust-benchmark/.gitignore b/lang-trials/rust-benchmark/.gitignore
index 5b910ca..238273d 100644
--- a/lang-trials/rust-benchmark/.gitignore
+++ b/lang-trials/rust-benchmark/.gitignore
@@ -1,3 +1,3 @@
-target/*
-dist/*
+target
+dist
 Cargo.lock
\ No newline at end of file
diff --git a/lang-trials/rust/.gitignore b/lang-trials/rust/.gitignore
index 5b910ca..238273d 100644
--- a/lang-trials/rust/.gitignore
+++ b/lang-trials/rust/.gitignore
@@ -1,3 +1,3 @@
-target/*
-dist/*
+target
+dist
 Cargo.lock
\ No newline at end of file