Actually fail on clippy failures (#7619)
Before the change to `script/clippy`, bash ignored first `clippy` invocation failure and CI moved on with Linux errors and warnings emitted. Release Notes: - N/A --------- Co-authored-by: Mikayla Maki <mikayla@zed.dev>
This commit is contained in:
parent
eee00c3fef
commit
5175c8963a
8 changed files with 208 additions and 154 deletions
|
@ -109,7 +109,7 @@ impl PlatformDispatcher for LinuxDispatcher {
|
|||
let moment = Instant::now() + duration;
|
||||
let mut timed_tasks = self.timed_tasks.lock();
|
||||
timed_tasks.push((moment, runnable));
|
||||
timed_tasks.sort_unstable_by(|&(ref a, _), &(ref b, _)| b.cmp(a));
|
||||
timed_tasks.sort_unstable_by(|(a, _), (b, _)| b.cmp(a));
|
||||
}
|
||||
|
||||
fn tick(&self, background_only: bool) -> bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue