* fix: typo

* fix: grammar error
This commit is contained in:
jincheng9
2021-12-02 18:00:24 +08:00
committed by GitHub
parent bc2417fc40
commit 830a63d244
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -155,7 +155,7 @@ func function(pc uintptr) []byte {
// runtime/debug.*T·ptrmethod
// and want
// *T.ptrmethod
// Also the package path might contains dot (e.g. code.google.com/...),
// Also the package path might contain dot (e.g. code.google.com/...),
// so first eliminate the path prefix
if lastSlash := bytes.LastIndex(name, slash); lastSlash >= 0 {
name = name[lastSlash+1:]