• B
    Use new slice_splits functions · 21ee2fbb
    Ben S 提交于
    These replace `init()` and `tail()` which are deprecated in favour of these.
    
    In fact, it's a good thing they're deprecated, because part of the path_prefix code involved working around a call to init() that would panic otherwise - doing the same check with an `Option` is much more ergonomic.
    21ee2fbb
main.rs 5.8 KB