mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-09 22:58:01 +00:00
Fix broken ability implementation
This commit is contained in:
parent
2aac2e01f8
commit
30b8a1407d
11 changed files with 130 additions and 132 deletions
|
@ -48,10 +48,10 @@ pub enum DeriveKey {
|
|||
impl DeriveKey {
|
||||
pub fn debug_name(&self) -> String {
|
||||
match self {
|
||||
DeriveKey::ToEncoder(key) => format!("toEncoder_{}", key.debug_name()),
|
||||
DeriveKey::ToEncoder(key) => format!("to_encoder_{}", key.debug_name()),
|
||||
DeriveKey::Decoder(key) => format!("decoder_{}", key.debug_name()),
|
||||
DeriveKey::Hash(key) => format!("hash_{}", key.debug_name()),
|
||||
DeriveKey::ToInspector(key) => format!("toInspector_{}", key.debug_name()),
|
||||
DeriveKey::ToInspector(key) => format!("to_inspector_{}", key.debug_name()),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue