]> git.lizzy.rs Git - rust.git/commit - src/librustc_llvm/build.rs
Auto merge of #74366 - t-rapp:tr-bufreader-pos, r=LukasKalbertodt
authorbors <bors@rust-lang.org>
Mon, 7 Sep 2020 11:09:41 +0000 (11:09 +0000)
committerbors <bors@rust-lang.org>
Mon, 7 Sep 2020 11:09:41 +0000 (11:09 +0000)
commit9fe551ae49289ce6f693ca0dabf4c9c15164f67d
tree161dafa13e61df09b284a2fd78c39dcdcd3dcab3
parentf76eda3f01ba8e9714b579dc3e563ee973ade83d
parent246d3271fe5fa180713b16aa33dacc6aeca46851
Auto merge of #74366 - t-rapp:tr-bufreader-pos, r=LukasKalbertodt

Implement Seek::stream_position() for BufReader

Optimization over `BufReader::seek()` for getting the current position without flushing the internal buffer.

Related to #31100. Based on the code in #70577.