-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* io: implement `AsyncSeek` for `Empty` * io: add more tests for seeking `Empty` This adds more tests seeking with other kinds of `SeekFrom`. It follows the same structure as used in rust-lang/rust@f1cd179. See <#6663 (comment)>. * io: add inline attribute to `AsyncSeek` implementations This follows the style of the other trait implementations of `Empty`. See <#6663 (comment)>. --------- Co-authored-by: Weijia Jiang <wjjiang19@gmail.com>
- Loading branch information
1 parent
68d0e3c
commit dff4ecd
Showing
2 changed files
with
46 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters