title: How to resolve the error "Initializer 'init(_:id:rowContent:)' requires that '(String, String)' conform to 'Hashable'" while using Lists in SwiftUI
body: <p>Below is the code: </p>
  
  <pre><code>struct DetailView: View {
  let trafficRule: [(String, String)] = [("123","rule1"),("123","rule2")]
  var body: some View {
  List(trafficRule, id: \.self) { trafficRule in
              Text("\(trafficRule.0)")
              Spacer()
              Text("\(trafficRule.1)")
  }
  }
  </code></pre>
  
  <p>Error message is showing up for the List block. </p>