Skip to content

Commit 4169a59

Browse files
committed
Make the crate compatible with 1.53 toolchain
While building Parsec with the latest version of the crate (from `main`), the legacy build failed due to range syntax that was not supported in 1.53. This commit modifies the range to align with the requirements in Parsec. Signed-off-by: Ionut Mihalcea <[email protected]>
1 parent b10d69c commit 4169a59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tss-esapi/src/attributes/locality.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ impl LocalityAttributesBuilder {
113113
);
114114
return Err(Error::local_error(WrapperErrorKind::InvalidParam));
115115
}
116-
32.. => {
116+
32..=255 => {
117117
if locality_attributes.0 != 0 {
118118
error!("Locality attribute {new} is extended and cannot be combined with locality attribute(s) {old}", new=locality, old=locality_attributes.0);
119119
return Err(Error::local_error(WrapperErrorKind::InvalidParam));

0 commit comments

Comments
 (0)