From 60186b6644c26a32f300418236ae9da2bef14aa7 Mon Sep 17 00:00:00 2001 From: Yuta Saito Date: Wed, 26 Feb 2020 20:11:49 +0900 Subject: [PATCH] Update stdlib/public/core/KeyPath.swift Co-Authored-By: Max Desiatov --- stdlib/public/core/KeyPath.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/public/core/KeyPath.swift b/stdlib/public/core/KeyPath.swift index b343535c2b963..169aae54c9f03 100644 --- a/stdlib/public/core/KeyPath.swift +++ b/stdlib/public/core/KeyPath.swift @@ -2545,7 +2545,7 @@ internal func _resolveRelativeAddress(_ base: UnsafeRawPointer, _ offset: Int32) -> UnsafeRawPointer { #if arch(wasm32) // FIXME: If offset is 0, it means the pointer is null. - // For real relative pointer, it always calculate valid non-null address + // For real relative pointer, it always calculates valid non-null address // because the base address is always valid. // But hacked absolute pointer can be null pointer. // The return type doesn't allow nil, so return given base temporarily.