Merge pull request #654 from jazzgal/patch-1

Comment typo
This commit is contained in:
Qi Zhao
2016-04-25 10:42:00 -07:00

View File

@ -82,7 +82,7 @@ func (s *routeGuideServer) GetFeature(ctx context.Context, point *pb.Point) (*pb
return &pb.Feature{"", point}, nil return &pb.Feature{"", point}, nil
} }
// ListFeatures lists all features comtained within the given bounding Rectangle. // ListFeatures lists all features contained within the given bounding Rectangle.
func (s *routeGuideServer) ListFeatures(rect *pb.Rectangle, stream pb.RouteGuide_ListFeaturesServer) error { func (s *routeGuideServer) ListFeatures(rect *pb.Rectangle, stream pb.RouteGuide_ListFeaturesServer) error {
for _, feature := range s.savedFeatures { for _, feature := range s.savedFeatures {
if inRange(feature.Location, rect) { if inRange(feature.Location, rect) {