We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dbc63e commit a8f645aCopy full SHA for a8f645a
crates/cargo-test-support/src/paths.rs
@@ -127,7 +127,7 @@ impl CargoPathExt for Path {
127
128
fn move_in_time<F>(&self, travel_amount: F)
129
where
130
- F: Fn(i64, u32) -> ((i64, u32)),
+ F: Fn(i64, u32) -> (i64, u32),
131
{
132
if self.is_file() {
133
time_travel(self, &travel_amount);
@@ -137,7 +137,7 @@ impl CargoPathExt for Path {
137
138
fn recurse<F>(p: &Path, bad: &Path, travel_amount: &F)
139
140
141
142
if p.is_file() {
143
time_travel(p, travel_amount)
@@ -151,7 +151,7 @@ impl CargoPathExt for Path {
151
152
fn time_travel<F>(path: &Path, travel_amount: &F)
153
154
155
156
let stat = t!(path.symlink_metadata());
157
0 commit comments