Should you duplicate prepositions when using conjunctions?
Example sentence:
- I swam across the river to exercise and to relax.
Grammatically, I believe it makes equal sense as the following sentence:
- I swam across the river to exercise and relax.
However, is it preferable to remove the preposition after the first?
And is there a style guide rule someone can provide that mentions this scenario?