Wenbo Yan
Wenbo Yan
```pub fn print(args: fmt::Arguments) { Stdout.write_fmt(args).unwrap(); }```中 fmt::Arguments是什么类型 在实验编写的print时应该填入什么格式参数 我的报错 ``` | print("world"); | ----- ^^^^^^^ expected struct `Arguments`, found `&str` | | | arguments to this function are incorrect...
``` pub fn print(args: fmt::Arguments){ Stdout.write_fmt(args).unwrap(); } ``` 中 fmt::Arguments是什么类型 在实验编写的print时应该填入什么格式参数? 下面是我的报错: ``` print("world"); | ----- ^^^^^^^ expected struct `Arguments`, found `&str` | | | arguments to this function are...
依照在本章最后,换回之前默认的 x86_64-unknown-linux-gnu,```cargo build``` 以后,有一个报错始终出现 ``` error: language item required, but not found: `eh_personality` | = note: this can occur when a binary crate with `#![no_std]` is compiled for a target...