Skip to content

Commit

Permalink
Error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
gzanitti committed Jul 24, 2024
1 parent b4949a9 commit ccd8ae6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pil-analyzer/src/pil_analyzer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ impl PILAnalyzer {

fn check_traits_pairs(&self, types1: &[Type], types2: &[Type]) -> Result<(), String> {
if types1.len() != types2.len() {
return Err(format!("Impl types have different lengths"));
return Err("Impl types have different lengths".to_string());
}

let tuple1: Type = TupleType {
Expand Down

0 comments on commit ccd8ae6

Please sign in to comment.