Anhydrides are close in reactivity to acyl halides as explained as well by the negligible contribution of the resonance form with the positive charge on the L (carboxylate) group.
The mechanism is the usual addition-elimination process.
The versatility of the anhydride function is not as wide as that of acyl chlorides. Please, notice that a carboxylate instead of chloride is always obtained as by-product.