Auto merge of #27317 - midinastasurazz:patch-1, r=Gankro
r? @steveklabnik
This commit is contained in:
commit
dc6e3bbb75
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ The main guarantee provided here is that the data will not be destroyed until al
|
||||||
are out of scope.
|
are out of scope.
|
||||||
|
|
||||||
This should be used when we wish to dynamically allocate and share some data (read-only) between
|
This should be used when we wish to dynamically allocate and share some data (read-only) between
|
||||||
various portions of yur program, where it is not certain which portion will finish using the pointer
|
various portions of your program, where it is not certain which portion will finish using the pointer
|
||||||
last. It's a viable alternative to `&T` when `&T` is either impossible to statically check for
|
last. It's a viable alternative to `&T` when `&T` is either impossible to statically check for
|
||||||
correctness, or creates extremely unergonomic code where the programmer does not wish to spend the
|
correctness, or creates extremely unergonomic code where the programmer does not wish to spend the
|
||||||
development cost of working with.
|
development cost of working with.
|
||||||
|
|
Loading…
Reference in a new issue