mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Use print instead of puts in embedded/wasm/mutex.swift
This commit is contained in:
@@ -10,12 +10,12 @@ import Synchronization
|
||||
let m = Mutex(42)
|
||||
|
||||
m.withLock {
|
||||
puts("Hello \($0)") // CHECK: Hello 42
|
||||
print("Hello \($0)") // CHECK: Hello 42
|
||||
$0 = 37
|
||||
}
|
||||
|
||||
m.withLock {
|
||||
puts("Hello \($0)") // CHECK: Hello 37
|
||||
print("Hello \($0)") // CHECK: Hello 37
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user