Commit 070a579
authored
While calling the `hash` function on a `SmallVec` currently works via
dereferencing into `&[T]` (see `test_hash` on `tests.rs`), this is not
enough to allow deriving `Hash` on e.g. a struct containing a single
field of type `SmallVec`.
1 parent 390bd7c commit 070a579
1 file changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
| 73 | + | |
72 | 74 | | |
73 | 75 | | |
74 | 76 | | |
| |||
79 | 81 | | |
80 | 82 | | |
81 | 83 | | |
82 | | - | |
83 | | - | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
2049 | 2049 | | |
2050 | 2050 | | |
2051 | 2051 | | |
| 2052 | + | |
| 2053 | + | |
| 2054 | + | |
| 2055 | + | |
| 2056 | + | |
| 2057 | + | |
2052 | 2058 | | |
2053 | 2059 | | |
2054 | 2060 | | |
| |||
0 commit comments