Question
Account for the fact that the C–O bond is shorter in RCOOH than in ROH.
Solution
RCOOH has contributing resonance structures as;

Due to this resonance, there is some double bond character in the C—O bond of the acid which shortens the bond length.

Due to this resonance, there is some double bond character in the C—O bond of the acid which shortens the bond length.