From: Steve Klabnik Date: Thu, 14 Apr 2016 18:49:09 +0000 (-0400) Subject: Rollup merge of #32855 - troplin:take-bufread-fix, r=alexcrichton X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=78ab18199d69bcc801668bfbeea8190b2c73a939;p=rust.git Rollup merge of #32855 - troplin:take-bufread-fix, r=alexcrichton Don't read past limit for in BufRead instance of Take Similar to `Read::read`, `BufRead::fill_buf` impl of `Take` should not call `inner.fill_buf` if the limit is already reached. --- 78ab18199d69bcc801668bfbeea8190b2c73a939