Skip to content

Commit

Permalink
Clippy cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
rdaum committed Feb 1, 2025
1 parent 2aa0036 commit d01d348
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/compiler/src/unparse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -894,7 +894,7 @@ pub fn to_literal_objsub(v: &Var, name_subs: &HashMap<Obj, String>) -> String {
}
result.push_str(k.as_str());
result.push_str(" -> ");
result.push_str(to_literal_objsub(&v, name_subs).as_str());
result.push_str(to_literal_objsub(v, name_subs).as_str());
}
result.push(']');
}
Expand Down
2 changes: 1 addition & 1 deletion crates/telnet-host/src/connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ fn describe_compile_error(compile_error: CompileError) -> String {
CompileError::BadSlotName(bs) => {
format!("Bad slot name in flyweight: {}", bs)
}
CompileError::InvalidAssignemnt => return "Invalid l-value for assignment".to_string(),
CompileError::InvalidAssignemnt => "Invalid l-value for assignment".to_string(),
}
}

Expand Down

0 comments on commit d01d348

Please sign in to comment.