about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-11-06 15:19:48 +0000
committerbors <bors@rust-lang.org>2017-11-06 15:19:48 +0000
commit58557fafae060c500394d5df13cd0cf68170903e (patch)
tree6b03d624afaf8c98b85f7e24834b93c92183538f /src/rustllvm/RustWrapper.cpp
parent74be072068737ae3ef30be66e34c1569cf652652 (diff)
parentdf4b78160cff6ba121df35b99d6c42a3dd1de62d (diff)
downloadrust-58557fafae060c500394d5df13cd0cf68170903e.tar.gz
rust-58557fafae060c500394d5df13cd0cf68170903e.zip
Auto merge of #45369 - fintelia:patch-1, r=BurntSushi
Implement is_empty() for BufReader

Simple implementation of `is_empty` method for BufReader so it is possible to tell whether there is any data in its buffer.

I didn't know correct stability annotation to place on the function. Presumably there is no reason to place this feature behind a feature flag, but I wasn't sure how to tag it as an unstable feature without that.

CC: #45323
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions