Refine from pedantic, remove erratic consts

This commit is contained in:
Luke Parker
2023-07-08 01:26:08 -04:00
parent 286e96ccd8
commit 3ca76c51e4
36 changed files with 192 additions and 335 deletions

View File

@@ -61,7 +61,7 @@ enum DigestTranscriptMember {
}
impl DigestTranscriptMember {
const fn as_u8(&self) -> u8 {
fn as_u8(&self) -> u8 {
match self {
Self::Name => 0,
Self::Domain => 1,