Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tbkka committed Sep 19, 2017
1 parent b925121 commit afcf6ad
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Sources/SwiftProtobuf/MathUtils.swift
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ internal func div<T : SignedInteger>(_ a: T, _ b: T) -> T {
#if !swift(>=4.0)
//
// Swift 3 called this initializer "truncatingBitPattern";
// Swift 4 (prerelease) changed this initializer to
// "truncatingIfNeeded".
// Swift 4 changed this initializer to "truncatingIfNeeded".
//
extension UInt8 {
internal init(truncatingIfNeeded value: UInt32) {
Expand Down

0 comments on commit afcf6ad

Please sign in to comment.