aboutsummaryrefslogtreecommitdiff
path: root/src/checker_signature.rs
diff options
context:
space:
mode:
authortslil <tslil@posteo.de>2026-04-29 17:44:31 +0100
committertslil <tslil@posteo.de>2026-04-29 17:46:58 +0100
commitc579060a7879670d010d649536996bb063dbe689 (patch)
treebe225e960aef1e818fd672e52706831a7abadaa9 /src/checker_signature.rs
parent2e087fc93f457ab6cd94dd57f719a27bcf7de796 (diff)
unconditionally check codomain for var
Diffstat (limited to 'src/checker_signature.rs')
-rw-r--r--src/checker_signature.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/checker_signature.rs b/src/checker_signature.rs
index bf04308..9512790 100644
--- a/src/checker_signature.rs
+++ b/src/checker_signature.rs
@@ -224,9 +224,7 @@ impl CheckerState {
"It should have been impossible to construct an Ext with no params, but here we are"
);
}
- if params.len() == 1
- && let Some(signature) = signature
- {
+ if let Some(signature) = signature {
if !self.equal(&**codomain, signature) {
return Err(CheckerError::WrongSignatureForInstance {
value: instance.clone().into(),