提交 23c917db 编写于 作者: yuanqian52's avatar yuanqian52

Update CHANGELOG

上级 02225913
...@@ -256,7 +256,6 @@ struct SeaCreature{ ...@@ -256,7 +256,6 @@ struct SeaCreature{
实例方法 — 属于某个类型的实例,调用时使用 . 运算符 实例方法 — 属于某个类型的实例,调用时使用 . 运算符
fn main() fn main()
{ {
let s = String::from("Hello world!");// 使用静态方法来创建一个String实例 let s = String::from("Hello world!");// 使用静态方法来创建一个String实例
println!("{} is {} characters long.", s, s.len());// 使用实例来调用方法 println!("{} is {} characters long.", s, s.len());// 使用实例来调用方法
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册