Skip to content

Commit

Permalink
chore: s/&String/&str in function param
Browse files Browse the repository at this point in the history
Signed-off-by: he1pa <18012015693@163.com>
  • Loading branch information
He1pa committed Apr 7, 2024
1 parent def7169 commit 9fba489
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kclvm/tools/src/LSP/src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ pub(crate) struct Params {

pub(crate) fn compile_unit_with_cache(
compile_unit_cache: &Option<KCLCompileUnitCache>,
file: &String,
file: &str,
) -> (Vec<String>, Option<LoadProgramOptions>) {
match compile_unit_cache {
Some(cache) => {
Expand Down

0 comments on commit 9fba489

Please sign in to comment.