This repository was archived by the owner on Aug 15, 2021. It is now read-only.
Commit 63e7663
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 45244b3 commit 63e7663
1 file changed
+7
-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 | + | |
129 | 136 | | |
130 | 137 | | |
131 | 138 | | |
| |||
0 commit comments