From aee1c38cda006e652e2589b6bbf16db0e6095a29 Mon Sep 17 00:00:00 2001
From: Rob Pike
Date: Mon, 13 Feb 2012 08:05:53 +1100
Subject: [PATCH] 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
---
doc/go1.html | 2 +-
doc/go1.tmpl | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
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