Rust中为什么&String可以当做是&str

149 阅读1分钟

doc.rust-lang.org/reference/t…

doc.rust-lang.org/std/ops/tra…