1
0
mirror of https://github.com/golang/go synced 2024-11-21 15:44:44 -07:00

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
This commit is contained in:
Rob Pike 2012-02-13 08:05:53 +11:00
parent 7531e8cb39
commit aee1c38cda
2 changed files with 2 additions and 2 deletions

View File

@ -1461,7 +1461,7 @@ the i-number expression could be contracted to
</p>
<pre>
fi.(*os.FileStat).Sys.(*syscall.Stat_t).Ino
fi.Sys().(*syscall.Stat_t).Ino
</pre>
<p>

View File

@ -1364,7 +1364,7 @@ the i-number expression could be contracted to
</p>
<pre>
fi.(*os.FileStat).Sys.(*syscall.Stat_t).Ino
fi.Sys().(*syscall.Stat_t).Ino
</pre>
<p>