Skip to content

Commit

Permalink
Fix lints.
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj committed Jul 15, 2024
1 parent a8d03ac commit d77b9a4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 4 additions & 2 deletions crates/project-expander/src/token_expander.rs
Original file line number Diff line number Diff line change
Expand Up @@ -337,8 +337,10 @@ impl<'graph, 'query> TokenExpander<'graph, 'query> {
let func = matches.get(1).unwrap().as_str(); // name
let arg = matches.get(2).unwrap().as_str(); // arg

let mut result = ExpandedResult::default();
result.token = Some(token.to_owned());
let mut result = ExpandedResult {
token: Some(token.to_owned()),
..ExpandedResult::default()
};

let loose_check = matches!(self.scope, TokenScope::Outputs);
let file_group = || -> miette::Result<&FileGroup> {
Expand Down
2 changes: 2 additions & 0 deletions crates/test-utils/src/sandbox.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![allow(clippy::disallowed_types)]

pub use starbase_sandbox::{create_temp_dir, Sandbox, SandboxAssert, SandboxSettings};
use std::collections::HashMap;
use std::ops::Deref;
Expand Down

0 comments on commit d77b9a4

Please sign in to comment.