diff --git a/Sources/MD5/MD5.swift b/Sources/MD5/MD5.swift index 757248b..cb9d4f5 100644 --- a/Sources/MD5/MD5.swift +++ b/Sources/MD5/MD5.swift @@ -75,7 +75,7 @@ extension MD5:CustomStringConvertible extension MD5:LosslessStringConvertible { public - init?(_ description:__shared String) + init?(_ description:borrowing String) { if let buffer:InlineBuffer = .init(description) { @@ -88,7 +88,7 @@ extension MD5:LosslessStringConvertible } public - init?(_ description:__shared Substring) + init?(_ description:borrowing Substring) { if let buffer:InlineBuffer = .init(description) { @@ -103,7 +103,7 @@ extension MD5:LosslessStringConvertible extension MD5:ExpressibleByIntegerLiteral { @inlinable public - init(integerLiteral:StaticBigInt) + init(integerLiteral:borrowing StaticBigInt) { self.init(buffer: .init(integerLiteral: integerLiteral)) } diff --git a/Sources/SHA1/SHA1.swift b/Sources/SHA1/SHA1.swift index da72523..1e180da 100644 --- a/Sources/SHA1/SHA1.swift +++ b/Sources/SHA1/SHA1.swift @@ -58,7 +58,7 @@ extension SHA1:CustomStringConvertible extension SHA1:LosslessStringConvertible { @inlinable public - init?(_ description:__shared String) + init?(_ description:borrowing String) { if let buffer:InlineBuffer = .init(description) { @@ -71,7 +71,7 @@ extension SHA1:LosslessStringConvertible } @inlinable public - init?(_ description:__shared Substring) + init?(_ description:borrowing Substring) { if let buffer:InlineBuffer = .init(description) {