Rust 程序设计语言 简体中文版 1.85.0registry at https://crates.io Caused by: the remote server responded with an error (status 400 Bad Request): missing or empty metadata fields: description, license. Please see https://doc.rust-lang.org/ post.add_text("I ate a salad for lunch today"); assert_eq!("", post.content()); post.request_review(); assert_eq!("", post.content()); post.approve(); assert_eq!("I ate a salad 文件名:src/lib.rs impl Post { // --snip-- pub fn request_review(&mut self) { if let Some(s) = self.state.take() { self.state = Some(s.request_review()) } 436/562Rust 程序设计语言 简体中文版0 码力 | 562 页 | 3.23 MB | 27 天前3
共 1 条
- 1













