Fixed formatting of Dimension docstring

This commit is contained in:
btracey
2013-10-09 13:07:30 -07:00
parent 74bc156098
commit c65eafd8b1

View File

@@ -16,14 +16,14 @@ type Uniter interface {
// orthogonal dimension. If a new dimension is desired for a // orthogonal dimension. If a new dimension is desired for a
// domain-specific problem, NewDimension should be used. Integers // domain-specific problem, NewDimension should be used. Integers
// should never be cast as type dimension // should never be cast as type dimension
// // Good: Create a package constant with an init function // // Good: Create a package constant with an init function
// var MyDimension unit.Dimension // var MyDimension unit.Dimension
// init(){ // init(){
// MyDimension = NewDimension("my") // MyDimension = NewDimension("my")
// } // }
// main(){ // main(){
// var := MyDimension(28.2) // var := MyDimension(28.2)
// } // }
type Dimension int type Dimension int
const ( const (