diff options
author | Daniel Mueller <deso@posteo.net> | 2019-05-24 18:08:42 -0700 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2019-05-24 18:08:42 -0700 |
commit | b637d5284c6117da3bfeb471da7c62e53a632621 (patch) | |
tree | b96df01ed2c0f14a02a6ec62de7d834c153435f0 /cc/tests/support/mod.rs | |
parent | 82cf43dd887801b8b22b8aae8c02854d921915d5 (diff) | |
download | nitrocli-b637d5284c6117da3bfeb471da7c62e53a632621.tar.gz nitrocli-b637d5284c6117da3bfeb471da7c62e53a632621.tar.bz2 |
Update cc crate to 1.0.37
This change updates the cc crate to version 1.0.37.
Import subrepo cc/:cc at cbf6d2f1312b6be22a7a363cf5c2a02acabc531f
Diffstat (limited to 'cc/tests/support/mod.rs')
-rw-r--r-- | cc/tests/support/mod.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cc/tests/support/mod.rs b/cc/tests/support/mod.rs index cae8151..72ca3fa 100644 --- a/cc/tests/support/mod.rs +++ b/cc/tests/support/mod.rs @@ -113,10 +113,12 @@ impl Execution { } pub fn must_have_in_order(&self, before: &str, after: &str) -> &Execution { - let before_position = self.args + let before_position = self + .args .iter() .rposition(|x| OsStr::new(x) == OsStr::new(before)); - let after_position = self.args + let after_position = self + .args .iter() .rposition(|x| OsStr::new(x) == OsStr::new(after)); match (before_position, after_position) { |