Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
muglug committed Mar 27, 2024
1 parent 1df58c3 commit ef2bb9a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/analyzer/expr/call/function_call_return_type_fetcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ fn handle_special_functions(
fn handle_str_format(
simple_string: &BString,
first_arg: &(ast_defs::ParamKind, aast::Expr<(), ()>),
args: &Vec<(ast_defs::ParamKind, aast::Expr<(), ()>)>,
args: &[(ast_defs::ParamKind, aast::Expr<(), ()>)],
statements_analyzer: &StatementsAnalyzer<'_>,
analysis_data: &mut FunctionAnalysisData,
pos: &Pos,
Expand Down Expand Up @@ -665,8 +665,7 @@ fn handle_str_format(
}
}

let result_type = analyze_concat_nodes(concat_args, statements_analyzer, analysis_data, pos);
result_type
analyze_concat_nodes(concat_args, statements_analyzer, analysis_data, pos)
}

fn get_type_structure_type(
Expand Down
2 changes: 1 addition & 1 deletion src/code_info/data_flow/graph.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use super::{
node::{DataFlowNode, DataFlowNodeKind},
path::{ArrayDataKind, DataFlowPath, PathKind},
path::{DataFlowPath, PathKind},
};
use crate::taint::SinkType;
use hakana_str::StrId;
Expand Down

0 comments on commit ef2bb9a

Please sign in to comment.