Skip to content

Commit 2fd42d6

Browse files
committed
Improve spacing in error string
We have a little typo in an error string, fix it up.
1 parent 721e16b commit 2fd42d6

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
@@ -372,7 +372,7 @@ impl_from_tree!(
372372
// thresh(1) and thresh(n) are disallowed in semantic policies
373373
if thresh <= 1 || thresh >= (nsubs as u32 - 1) {
374374
return Err(errstr(
375-
"Semantic Policy thresh cannot have k = 1 or k =n, use `and`/`or` instead",
375+
"Semantic Policy thresh cannot have k = 1 or k = n, use `and`/`or` instead",
376376
));
377377
}
378378
if thresh >= (nsubs as u32) {

0 commit comments

Comments
 (0)