From 43fd63cd1166e154a8a88eb2bd34395406d9f6e1 Mon Sep 17 00:00:00 2001 From: Sergii Tkachenko Date: Wed, 21 Aug 2024 08:08:48 -0400 Subject: [PATCH] [go/en] disambiguate "close" in learnDefer() (#5038) --- go.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.html.markdown b/go.html.markdown index d3f2572e..20f3adda 100644 --- a/go.html.markdown +++ b/go.html.markdown @@ -323,7 +323,7 @@ func learnDefer() (ok bool) { defer fmt.Println("deferred statements execute in reverse (LIFO) order.") defer fmt.Println("\nThis line is being printed first because") // Defer is commonly used to close a file, so the function closing the - // file stays close to the function opening the file. + // file stays near the function opening the file. return true }