Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(575)

Issue 5165041: code review 5165041: io/ioutil: add a comment on why devNull is a ReaderFrom (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 5 months ago by bradfitz
Modified:
13 years, 5 months ago
Reviewers:
CC:
gri, golang-dev
Visibility:
Public.

Description

io/ioutil: add a comment on why devNull is a ReaderFrom ... protects this optimization from future well-meaning Gophers looking to delete unused code. :)

Patch Set 1 #

Patch Set 2 : diff -r 93c459658010 https://go.googlecode.com/hg #

Patch Set 3 : diff -r 93c459658010 https://go.googlecode.com/hg #

Patch Set 4 : diff -r 27bcd924a96d https://go.googlecode.com/hg #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -0 lines) Patch
M src/pkg/io/ioutil/ioutil.go View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 3
bradfitz
Hello gri@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg
13 years, 5 months ago (2011-09-29 22:31:50 UTC) #1
gri
LGTM
13 years, 5 months ago (2011-09-29 22:32:54 UTC) #2
bradfitz
13 years, 5 months ago (2011-09-29 22:35:06 UTC) #3
*** Submitted as http://code.google.com/p/go/source/detail?r=6bfb65b2ff19 ***

io/ioutil: add a comment on why devNull is a ReaderFrom

... protects this optimization from future well-meaning
Gophers looking to delete unused code. :)

R=gri
CC=golang-dev
http://codereview.appspot.com/5165041
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b