Be explicit that to_slice takes a 'static closure