小编Дми*_*мар的帖子

"特质绑定std :: fmt :: Display不满意"是什么意思?

我的代码:

extern crate time;

fn main() {
    println!("{}", time::get_time());
}
Run Code Online (Sandbox Code Playgroud)

我的错误是:

Error 'the trait bound time::Timespec: std::fmt::Display is not satisfied

rust

6
推荐指数
1
解决办法
4752
查看次数

标签 统计

rust ×1