aboutsummaryrefslogtreecommitdiff
path: root/src/context
diff options
context:
space:
mode:
authorDominik Honnef <dominik@honnef.co>2018-08-23 00:02:24 +0200
committerBrad Fitzpatrick <bradfitz@golang.org>2018-08-22 22:11:24 +0000
commitccb70bd19c44b90ef4030c6399c884f82a12bc68 (patch)
tree271a15fc09eb21d1033f5ab83c964c14610b8633 /src/context
parent37ea182660e31f4e21b2bc34d2438455269e5f78 (diff)
downloadgo-ccb70bd19c44b90ef4030c6399c884f82a12bc68.tar.gz
go-ccb70bd19c44b90ef4030c6399c884f82a12bc68.zip
context: don't talk about tools that don't exist
This comment has been the source of much confusion and broken dreams. We can add it back if a tool ever gets released. Updates #16742 Change-Id: I4b9c179b7c60274e6ff1bcb607b82029dd9a893f Reviewed-on: https://go-review.googlesource.com/130876 Reviewed-by: Matt Layher <mdlayher@gmail.com> Reviewed-by: Alan Donovan <adonovan@google.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/context')
-rw-r--r--src/context/context.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/context/context.go b/src/context/context.go
index 1b4fa41b8c..85f8acf8fa 100644
--- a/src/context/context.go
+++ b/src/context/context.go
@@ -210,8 +210,7 @@ func Background() Context {
// TODO returns a non-nil, empty Context. Code should use context.TODO when
// it's unclear which Context to use or it is not yet available (because the
// surrounding function has not yet been extended to accept a Context
-// parameter). TODO is recognized by static analysis tools that determine
-// whether Contexts are propagated correctly in a program.
+// parameter).
func TODO() Context {
return todo
}