Type mismatch returning associated trait from generic function in trait

后端 未结 0 708
没有蜡笔的小新
没有蜡笔的小新 2021-02-19 00:00

Why does this code fail to compile? Playground

pub trait Dataset {}

pub trait Property {
    type Value;
    fn value<         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题