]> Cypherpunks repositories - gostls13.git/commit
spec: better organization of arithmetic operator section
authorRobert Griesemer <gri@golang.org>
Tue, 4 Aug 2015 22:04:39 +0000 (15:04 -0700)
committerRobert Griesemer <gri@golang.org>
Wed, 5 Aug 2015 17:05:07 +0000 (17:05 +0000)
commit3dd3ab41acd5eeef5cfd9e83d75f325178ef6a9c
treea10fa36a9935b959933dc08a4f1851ccd89f98f9
parent05614bfcfa28f199d1e62df294a914daa3b76d8c
spec: better organization of arithmetic operator section

First step towards cleaning up the operator section - no language
changes. Specifically:

- Grouped arithmetic operations by types (integer, floating-point,
  string), with corresponding h4 headings.

- Changed Operator precedence title from h3 to h4.

- Moved Integer Overflow section after integer operations and changed
  its title from h3 to h4.

This puts things that belong together closer. No heading id's were
lost (in case of references from outside the spec).

Change-Id: I6b349ba8d86a6ae29b596beb297cc45c81e69399
Reviewed-on: https://go-review.googlesource.com/13143
Reviewed-by: Rob Pike <r@golang.org>
doc/go_spec.html