This repository was archived by the owner on Aug 15, 2021. It is now read-only.
Commit d1e815a
committed
Add &str and &[T] From conversions
It made sense to avoid these in the past because they caused allocation.
However, in order to fix conversion mismatches with serde, we had to adopt
allocation. Since we have now accepted allocation, it now makes sense to
add these conversions for ergonomics.1 parent 1533850 commit d1e815a
1 file changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
129 | 139 | | |
130 | 140 | | |
131 | 141 | | |
| |||
0 commit comments