Skip to content

Conversation

@cemeyer
Copy link

@cemeyer cemeyer commented May 30, 2021

For Error, drop the deprecated description() method and move the logic
into the Display impl.

In bin.rs, use explicit 'dyn' annotation for Boxes of traits. This is
functionally identical, but the older syntax is deprecated.

In the KAT support logic, the format string of an assert!() must be a
string literal in Rust 2021. As the variable we were using for the
format string was itself a formatted string, we can just simplify by
doing the formatting in assert!() itself.

For Error, drop the deprecated description() method and move the logic
into the Display impl.

In bin.rs, use explicit 'dyn' annotation for Boxes of traits.  This is
functionally identical, but the older syntax is deprecated.

In the KAT support logic, the format string of an assert!() must be a
string literal in Rust 2021.  As the variable we were using for the
format string was itself a formatted string, we can just simplify by
doing the formatting in assert!() itself.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant