mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 20:28:02 +00:00
Remove explicit string deriving code in favor of immediate
This commit is contained in:
parent
9a66e936a8
commit
568e8d9475
3 changed files with 1 additions and 113 deletions
|
@ -14,7 +14,6 @@ pub enum FlatEncodable {
|
|||
|
||||
#[derive(Hash, PartialEq, Eq, Debug, Clone)]
|
||||
pub enum FlatEncodableKey {
|
||||
String,
|
||||
List(/* takes one variable */),
|
||||
Set(/* takes one variable */),
|
||||
Dict(/* takes two variables */),
|
||||
|
@ -26,7 +25,6 @@ pub enum FlatEncodableKey {
|
|||
impl FlatEncodableKey {
|
||||
pub(crate) fn debug_name(&self) -> String {
|
||||
match self {
|
||||
FlatEncodableKey::String => "string".to_string(),
|
||||
FlatEncodableKey::List() => "list".to_string(),
|
||||
FlatEncodableKey::Set() => "set".to_string(),
|
||||
FlatEncodableKey::Dict() => "dict".to_string(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue