You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-16
Original file line number
Diff line number
Diff line change
@@ -79,7 +79,7 @@ Now, with that out of the way, let's see the reference and then some more detail
79
79
### References and Lifetimes
80
80
81
81
-`@lifetime lt begin ... end`: Create a scope for references whose lifetimes `lt` are the duration of the block
82
-
-`@ref [:mut] var = value in lt`: Create a referenceto owned value `value` and assign it to `var` within the given lifetime scope `lt` (mutable if `:mut` is specified)
82
+
-`@ref lt [:mut] var = value`: Create a reference, for the duration of `lt`, to owned value `value` and assign it to `var` (mutable if `:mut` is specified)
0 commit comments