Update Examples
parent
feaf506c8d
commit
32e73a365e
1 changed files with 1 additions and 0 deletions
|
@ -285,6 +285,7 @@ struct Rectangle
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
fn main()
|
fn main()
|
||||||
// Create struct with field init shorthand
|
// Create struct with field init shorthand
|
||||||
let name = s"Peter" // note s-string
|
let name = s"Peter" // note s-string
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue