mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-12 20:16:49 +00:00
remove unnecessary && from various file routines
This commit is contained in:
parent
af99b4b0dc
commit
35e01e0137
@ -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] {
|
||||
|
@ -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] {
|
||||
|
Loading…
Reference in New Issue
Block a user