Swift: equals for assignment typo