 
   var a = UnsafeMutableBufferPointer<String>.allocate(capacity: c)
   defer { a.deallocate() }
-  a.initialize(fromElements: Array(repeating: ".", count: c))
+  a.initialize(fromContentsOf: Array(repeating: ".", count: c))
   defer { a.deinitialize() }
 
   var i = a.withContiguousMutableStorageIfAvailable {
-    $0.update(fromElements: Array(repeating: " ", count: c))
+    $0.update(fromContentsOf: Array(repeating: " ", count: c))
   }
   expectEqual(i, c)
   expectTrue(a.allSatisfy({ $0 == " " }))
 
   i = a[...].withContiguousMutableStorageIfAvailable {
-    $0.update(fromElements: Array(repeating: "?", count: c))
+    $0.update(fromContentsOf: Array(repeating: "?", count: c))
   }
   expectEqual(i, c)
   expectTrue(a.allSatisfy({ $0 == "?" }))

  )
  defer { mb.deallocate() }

  var tb = mb.initializeMemory(as: Int.self, fromElements: 0..<c)
  expectEqual(tb.count, c)
  expectTrue(tb.elementsEqual(0..<c))
  var rb = tb.deinitialize()
  expectEqual(rb.baseAddress, mb.baseAddress)
  expectEqual(rb.count, mb.count)

  tb = mb[...].initializeMemory(as: Int.self, fromElements: 0..<c)
  expectEqual(tb.count, c)
  expectTrue(tb.elementsEqual(0..<c))
  rb = tb.deinitialize()

}

UnsafeMutableBufferPointerSliceTests.test(
  "slice.of.UnsafeMutableRawBufferpointer.initializeMemory.fromContentsOf"
) {
  let c = 4
  let mb = UnsafeMutableRawBufferPointer.allocate(
