diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2020-11-02 10:32:55 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2020-11-03 15:36:49 +0100 |
commit | 33b18b20d291bc07dd24c29fe2f8706a8f632037 (patch) | |
tree | 97f41ba97f428b629d507241aedaa4404f37f313 /src/log | |
parent | 9fbda0620e45a3eff03ac44bfab2941ad909d346 (diff) |
Make helper function public
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'src/log')
-rw-r--r-- | src/log/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/log/parser.rs b/src/log/parser.rs index 5092b90..18016a2 100644 --- a/src/log/parser.rs +++ b/src/log/parser.rs @@ -17,7 +17,7 @@ use crate::log::util::*; type IoResult<T> = RResult<T, futures::io::Error>; -fn buffer_stream_to_line_stream<S>(stream: S) -> impl Stream<Item = IoResult<String>> +pub fn buffer_stream_to_line_stream<S>(stream: S) -> impl Stream<Item = IoResult<String>> where S: Stream<Item = shiplift::Result<TtyChunk>> + std::marker::Unpin { stream.map(|r| r.map(TtyChunkBuf::from)) |