deref: fix typo (#275)

pull/282/head
Marco Ieni 3 years ago committed by GitHub
parent 7e9616978f
commit 66d7e6c7da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -61,7 +61,7 @@ its data if the only way to access each datum is via the collection and the
collection is responsible for deleting the data (even in cases of shared
ownership, some kind of borrowed view may be appropriate). If a collection owns
its data, it is usually useful to provide a view of the data as borrowed so that
it can be multiplied referenced.
it can be referenced multiple times.
Most smart pointers (e.g., `Foo<T>`) implement `Deref<Target=T>`. However,
collections will usually dereference to a custom type. `[T]` and `str` have some

Loading…
Cancel
Save