about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2013-11-13 11:17:58 -0800
committerAlex Crichton <alex@alexcrichton.com>2013-11-13 11:36:13 -0800
commit7bc092f109d79b7214fb11108bbe38ac322c775c (patch)
tree7b37f9c7fe08e52458ba2d6cd79b161e999c34ab /src/rustllvm/RustWrapper.cpp
parent825b127d4771ac417572cd783143f0cf7da34e48 (diff)
downloadrust-7bc092f109d79b7214fb11108bbe38ac322c775c.tar.gz
rust-7bc092f109d79b7214fb11108bbe38ac322c775c.zip
Introduce an io::Buffer trait
This trait is meant to abstract whether a reader is actually implemented with an
underlying buffer. For all readers which are implemented as such, we can
efficiently implement things like read_char, read_line, read_until, etc. There
are two required methods for managing the internal buffer, and otherwise
read_line and friends can all become default methods.

Closes #10334
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions