Could become `Some(mut p) => { p.pop(); ...` while you're fiddling with things here anyway.