Fix declar(a)tion typo

This commit renames `#declartion_swap` to `#declaration_swap`.