Skip to content

Wrong function name in comment for Rectangle.Sub #2724

@gopherbot

Description

@gopherbot

by marcel.hauf:

The comment for Rectangle.Sub() says:
"// Add returns the rectangle r translated by -p."
It should probably say: "// Sub returns the rectangle r translated by -p."

http://code.google.com/p/go/source/browse/src/pkg/image/geom.go#115

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions