summaryrefslogtreecommitdiffhomepage
path: root/tools/checkescape/checkescape.go
diff options
context:
space:
mode:
authorLai Jiangshan <jiangshan.ljs@antfin.com>2020-12-26 11:20:38 +0800
committerLai Jiangshan <jiangshan.ljs@antfin.com>2020-12-27 11:28:16 +0800
commitd56ea8dfe40f02600de233797ba0ba0c4c340cbb (patch)
treeba3889cc50b0f3678ab3f6672a791ec003c4aa49 /tools/checkescape/checkescape.go
parentcc522a9cfb0a2d5976a3a592cba8e9d23b06c6ce (diff)
typo: change whicy to which
Signed-off-by: Lai Jiangshan <jiangshan.ljs@antfin.com>
Diffstat (limited to 'tools/checkescape/checkescape.go')
-rw-r--r--tools/checkescape/checkescape.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/checkescape/checkescape.go b/tools/checkescape/checkescape.go
index e5a7e23c7..a2c7c884f 100644
--- a/tools/checkescape/checkescape.go
+++ b/tools/checkescape/checkescape.go
@@ -27,7 +27,7 @@
// heap: A direct allocation is made on the heap (hard).
// builtin: A call is made to a built-in allocation function (hard).
// stack: A stack split as part of a function preamble (soft).
-// interface: A call is made via an interface whicy *may* escape (soft).
+// interface: A call is made via an interface which *may* escape (soft).
// dynamic: A dynamic function is dispatched which *may* escape (soft).
//
// To the use the package, annotate a function-level comment with either the