(start_bound: Bound<&K>)
| 260 | } |
| 261 | |
| 262 | fn copied_bound<K>(start_bound: Bound<&K>) -> Bound<K> |
| 263 | where |
| 264 | K: Copy, |
| 265 | { |
| 266 | match start_bound { |
| 267 | Bound::Unbounded => Bound::Unbounded, |
| 268 | Bound::Included(x) => Bound::Included(*x), |
| 269 | Bound::Excluded(x) => Bound::Excluded(*x), |
| 270 | } |
| 271 | } |
| 272 | |
| 273 | impl<K, V> Default for Map<K, V> |
| 274 | where |