summaryrefslogtreecommitdiff
path: root/src/pkg/exp/datafmt/datafmt.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/exp/datafmt/datafmt.go')
-rw-r--r--src/pkg/exp/datafmt/datafmt.go8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/pkg/exp/datafmt/datafmt.go b/src/pkg/exp/datafmt/datafmt.go
index bea3a49e6..28c9e7449 100644
--- a/src/pkg/exp/datafmt/datafmt.go
+++ b/src/pkg/exp/datafmt/datafmt.go
@@ -332,17 +332,13 @@ func newState(fmt Format, env Environment, errors chan os.Error) *State {
// Env returns the environment passed to Format.Apply.
-func (s *State) Env() interface{} {
- return s.env;
-}
+func (s *State) Env() interface{} { return s.env }
// LinePos returns the position of the current line beginning
// in the state's output buffer. Line numbers start at 1.
//
-func (s *State) LinePos() token.Position {
- return s.linePos;
-}
+func (s *State) LinePos() token.Position { return s.linePos }
// Pos returns the position of the next byte to be written to the