Unverified Commit ad9f3b69 authored by kennytm's avatar kennytm Committed by GitHub

Mark SequentialFile as Send (#424) (#432)

Needed by https://github.com/tikv/tikv/pull/6209Signed-off-by: 's avatarYi Wu <yiwu@pingcap.com>
Signed-off-by: 's avatarkennytm <kennytm@gmail.com>
Co-authored-by: 's avataryiwu-arbug <yiwu@pingcap.com>
parent 8116bd65
......@@ -2428,6 +2428,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