We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dd7ae44 + 2de0350 commit 92d932dCopy full SHA for 92d932d
stdlib/public/core/UnicodeScalar.swift
@@ -346,16 +346,12 @@ extension UInt8 {
346
}
347
extension UInt32 {
348
/// Construct with value `v.value`.
349
- ///
350
- /// - Precondition: `v.value` can be represented as UInt32.
351
public init(_ v: UnicodeScalar) {
352
self = v.value
353
354
355
extension UInt64 {
356
357
358
- /// - Precondition: `v.value` can be represented as UInt64.
359
360
self = UInt64(v.value)
361
0 commit comments