A simple evolution equation for rapidity distributions in nucleus–nucleus collisions