about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2011-10-20 10:18:39 -0700
committerBrian Anderson <banderson@mozilla.com>2011-10-24 16:06:17 -0700
commit35e01e0137e5edced626b201f2f2ca569247e95a (patch)
tree31650d47b045defe591efc6b29cb7862d263feed /src
parentaf99b4b0dc530e58ced8780f0322ca8d2c1578f9 (diff)
downloadrust-35e01e0137e5edced626b201f2f2ca569247e95a.tar.gz
rust-35e01e0137e5edced626b201f2f2ca569247e95a.zip
remove unnecessary && from various file routines
Diffstat (limited to 'src')
-rw-r--r--src/lib/posix_fs.rs2
-rw-r--r--src/lib/win32_fs.rs4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/posix_fs.rs b/src/lib/posix_fs.rs
index 3a518c7b966..b1e08538aca 100644
--- a/src/lib/posix_fs.rs
+++ b/src/lib/posix_fs.rs
@@ -1,6 +1,6 @@
 
 native "c-stack-cdecl" mod rustrt {
-    fn rust_list_files(&&path: str) -> [str];
+    fn rust_list_files(path: str) -> [str];
 }
 
 fn list_dir(path: str) -> [str] {
diff --git a/src/lib/win32_fs.rs b/src/lib/win32_fs.rs
index 2fe6acd4399..e527f19b5a5 100644
--- a/src/lib/win32_fs.rs
+++ b/src/lib/win32_fs.rs
@@ -1,8 +1,8 @@
 
 
 native "c-stack-cdecl" mod rustrt {
-    fn rust_list_files(&&path: str) -> [str];
-    fn rust_file_is_dir(&&path: str) -> int;
+    fn rust_list_files(path: str) -> [str];
+    fn rust_file_is_dir(path: str) -> int;
 }
 
 fn list_dir(path: str) -> [str] {