Use Span#slice in examples [ci skip]