From: Rob Pike
Date: Sun, 12 Feb 2012 21:05:53 +0000 (+1100)
Subject: go1: fix old reference to Sys method
X-Git-Tag: weekly.2012-02-14~109
X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=aee1c38cda006e652e2589b6bbf16db0e6095a29;p=gostls13.git
go1: fix old reference to Sys method
The example was fixed; the simplifying rewrite was missed.
R=golang-dev
CC=golang-dev
https://golang.org/cl/5651080
---
diff --git a/doc/go1.html b/doc/go1.html
index 6e63882f09..c681eff3b6 100644
--- a/doc/go1.html
+++ b/doc/go1.html
@@ -1461,7 +1461,7 @@ the i-number expression could be contracted to
- fi.(*os.FileStat).Sys.(*syscall.Stat_t).Ino
+ fi.Sys().(*syscall.Stat_t).Ino
diff --git a/doc/go1.tmpl b/doc/go1.tmpl
index 862fe0ed43..9cdbf4bad6 100644
--- a/doc/go1.tmpl
+++ b/doc/go1.tmpl
@@ -1364,7 +1364,7 @@ the i-number expression could be contracted to
- fi.(*os.FileStat).Sys.(*syscall.Stat_t).Ino
+ fi.Sys().(*syscall.Stat_t).Ino