Skip to content

Commit ccb70bd

Browse files
dominikhbradfitz
authored andcommitted
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 <[email protected]> Reviewed-by: Alan Donovan <[email protected]> Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent 37ea182 commit ccb70bd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/context/context.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,7 @@ func Background() Context {
210210
// TODO returns a non-nil, empty Context. Code should use context.TODO when
211211
// it's unclear which Context to use or it is not yet available (because the
212212
// surrounding function has not yet been extended to accept a Context
213-
// parameter). TODO is recognized by static analysis tools that determine
214-
// whether Contexts are propagated correctly in a program.
213+
// parameter).
215214
func TODO() Context {
216215
return todo
217216
}

0 commit comments

Comments
 (0)