Skip to content

Commit

Permalink
Minor: Documentation copy-paste typo
Browse files Browse the repository at this point in the history
  • Loading branch information
capnslipp authored Jun 11, 2021
1 parent 665f5c0 commit f6b3b71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Int4/Int4.swift
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ extension Int4

/// Initialize to a vector with elements taken from `array`.
///
/// - Precondition: `array` must have exactly three elements.
/// - Precondition: `array` must have exactly 4 elements.
@_transparent public init(array:[Int32]) {
precondition(array.count == 4)
self.init(array[0], array[1], array[2], array[3])
Expand Down

0 comments on commit f6b3b71

Please sign in to comment.