Skip to content

Commit

Permalink
Remove warning: use let instead of var
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroshihorie committed Aug 6, 2024
1 parent 2de7288 commit 37b7983
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/LiveKit/Support/Utils.swift
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ extension MutableCollection {
}

func computeAttributesDiff(oldValues: [String: String], newValues: [String: String]) -> [String: String] {
var allKeys = Set(oldValues.keys).union(newValues.keys)
let allKeys = Set(oldValues.keys).union(newValues.keys)
var diff = [String: String]()

for key in allKeys {
Expand Down

0 comments on commit 37b7983

Please sign in to comment.