doc: Minor example formatting in 11 References
This commit is contained in:
parent
81bc32d975
commit
e65aea522c
@ -1413,7 +1413,7 @@ contains a point, but allocated in a different location:
|
||||
|
||||
~~~
|
||||
# struct Point { x: f64, y: f64 }
|
||||
let on_the_stack : Point = Point { x: 3.0, y: 4.0 };
|
||||
let on_the_stack : Point = Point { x: 3.0, y: 4.0 };
|
||||
let owned_box : ~Point = ~Point { x: 7.0, y: 9.0 };
|
||||
~~~
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user