Skip to content

Update makeArrayConsecutive2.swift#2

Open
senyomotey wants to merge 1 commit intoavo1:masterfrom
senyomotey:patch-1
Open

Update makeArrayConsecutive2.swift#2
senyomotey wants to merge 1 commit intoavo1:masterfrom
senyomotey:patch-1

Conversation

@senyomotey
Copy link

fixed the error below:

error: cannot use mutating member on immutable value: 'statues' is a 'let' constant
var a = statues.sort();
~~~~~~~ ^

fixed the error below:

error: cannot use mutating member on immutable value: 'statues' is a 'let' constant
    var a = statues.sort();
            ~~~~~~~ ^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant