Skip to content

Commit

Permalink
Erase unguaranteeable Sync requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
workingjubilee authored and armallen committed Jul 25, 2024
1 parent dc6ec34 commit 4c1a79c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ pub struct Input(Stream);

impl Input {
/// Open the input stream.
pub fn open(self) -> io::Result<Box<dyn Read + Sync + 'static>> {
pub fn open(self) -> io::Result<Box<dyn Read + 'static>> {
match self.0 {
Stream::File(_) => {
let file = self.open_file().unwrap()?;
Expand Down Expand Up @@ -194,7 +194,7 @@ pub struct Output(Stream);

impl Output {
/// Open the output stream.
pub fn open(self) -> io::Result<Box<dyn Write + Sync + 'static>> {
pub fn open(self) -> io::Result<Box<dyn Write + 'static>> {
match self.0 {
Stream::File(_) => {
let file = self.open_file().unwrap()?;
Expand Down

0 comments on commit 4c1a79c

Please sign in to comment.