Spell swap letters

The statement says that Fedya can swap two letters. Does this refer to adjacent letters only or any two letters in the word?

Thanks.