Unverified Commit 3805bd47 authored by yiwu-arbug's avatar yiwu-arbug Committed by GitHub

Mark SequentialFile as Send (#424)

Needed by https://github.com/tikv/tikv/pull/6209Signed-off-by: 's avatarYi Wu <yiwu@pingcap.com>
parent 72e45c3f
......@@ -2524,6 +2524,8 @@ impl SequentialFile {
}
}
unsafe impl Send for SequentialFile {}
impl io::Read for SequentialFile {
fn read(&mut self, buf: &mut [u8]) -> io::Result<usize> {
unsafe {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment