]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #22640 - sfackler:fix-take, r=alexcrichton
authorManish Goregaokar <manishsmail@gmail.com>
Mon, 23 Feb 2015 09:24:34 +0000 (14:54 +0530)
committerAlex Crichton <alex@alexcrichton.com>
Mon, 23 Feb 2015 19:43:56 +0000 (11:43 -0800)
commit65b1a985229663435851997e44155482eda2f6f4
treef39f9c4bf0f13113fdcf19757252d9c9be460876
parentdb04229d23119e76f52408b61d960e1bcc52af7a
parentb46e3eec7aec546d8c4e212cc4e27ec870071e74
Rollup merge of #22640 - sfackler:fix-take, r=alexcrichton

 We can't call into the inner reader for a 0-byte read because that may
end up blocking or returning an error.

r? @alexcrichton
src/libstd/io/mod.rs