Skip to content

Commit 0cf783a

Browse files
committed
Improve spacing in error string
We have a little typo in an error string, fix it up and make the string slightly shorter while we are at it.
1 parent 1a1ac10 commit 0cf783a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/policy/semantic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ impl_from_tree!(
380380
// thresh(1) and thresh(n) are disallowed in semantic policies
381381
if thresh <= 1 || thresh >= (nsubs as u32 - 1) {
382382
return Err(errstr(
383-
"Semantic Policy thresh cannot have k = 1 or k =n, use `and`/`or` instead",
383+
"Semantic Policy thresh cannot have k=1 or k==n, use `and`/`or` instead",
384384
));
385385
}
386386
if thresh >= (nsubs as u32) {

0 commit comments

Comments
 (0)