Update Examples
parent
19b452f584
commit
feaf506c8d
@ -284,6 +284,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…
Reference in New Issue
Block a user