don't use slice syntax in docs