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.
1 parent f2fea6a commit a368177Copy full SHA for a368177
proposals/0334-pointer-usability-improvements.md
@@ -275,7 +275,7 @@ extension UnsafeMutableRawPointer {
275
/// - Parameters:
276
/// - type: the type to be stored at the returned address.
277
/// - Returns: a pointer properly aligned to store a value of type `T`.
278
- public func alingedDown<T>(for type: T.Type) -> UnsafeMutableRawPointer
+ public func alignedDown<T>(for type: T.Type) -> UnsafeMutableRawPointer
279
280
/// Obtain the next pointer whose bit pattern is a multiple of `alignment`.
281
///
0 commit comments