Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
NicholasLYang committed Apr 15, 2024
1 parent 94f65cb commit 02a5e85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/turborepo-lib/src/engine/mod.rs
Expand Up @@ -214,7 +214,7 @@ impl Engine<Built> {
/// Creates an `Engine` with persistent tasks filtered out. Used in watch
/// mode to re-run the non-persistent tasks.
pub fn create_engine_without_persistent_tasks(&self) -> Engine<Built> {
let mut new_graph = self.task_graph.filter_map(
let new_graph = self.task_graph.filter_map(
|node_idx, node| {
if let TaskNode::Task(task) = &self.task_graph[node_idx] {
let def = self
Expand Down
2 changes: 1 addition & 1 deletion crates/turborepo-lib/src/run/watch.rs
Expand Up @@ -218,7 +218,7 @@ impl WatchClient {
let run_fut = async move {
let base = CommandBase::new(args, repo_root, get_version(), ui);

let mut run = RunBuilder::new(base)?
let run = RunBuilder::new(base)?
.hide_prelude()
.build(&handler, telemetry)
.await?;
Expand Down

0 comments on commit 02a5e85

Please sign in to comment.