Skip to content

Commit

Permalink
Update hugr-core/src/import.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Seyon Sivarajah <[email protected]>
  • Loading branch information
zrho and ss2165 authored Oct 4, 2024
1 parent 280ef39 commit e18066d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hugr-core/src/import.rs
Original file line number Diff line number Diff line change
Expand Up @@ -934,7 +934,7 @@ impl<'a> Context<'a> {
| model::Term::Control { .. } => Err(model::ModelError::TypeError(term_id).into()),

model::Term::ControlType => {
Err(error_unsupported!("type of control types as `TypeArg`"))
Err(error_unsupported!("type of control types as `TypeParam`"))
}
}
}
Expand Down

0 comments on commit e18066d

Please sign in to comment.