mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-10 21:19:24 +00:00
Refine from pedantic, remove erratic consts
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user