Very slowly repairs all equipment on the player, but only if it's enchanted with Mending.
A repair rate of 1 durability every 3-4 seconds would work for occasional use items like bows and armor. Heavy use items like pickaxes would still benefit from a dedicated XP farm.