Add deprecation status to doc comments [NFC]

This commit is contained in:
Xiaodi Wu 2017-08-27 19:04:23 -05:00
parent cf86536c61
commit c473959f38
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ extension BinaryInteger {
}
/// Returns the result of raising `base` to the power of `exponent`, rounded
/// to a representable value.
/// to a representable value (deprecated).
@available(*, deprecated, message: "Use operator instead")
public static func pow(_ base: Self, _ exponent: Self) -> Self {
return base ** exponent

View File

@ -276,7 +276,7 @@ extension Math {
extension Math {
/// Returns the result of raising `base` to the power of `exponent`, rounded
/// to a representable value.
/// to a representable value (deprecated).
///
/// - Parameters:
/// - base: The base to be raised to the power of `exponent`.