Skip to content

Commit

Permalink
Erase unguaranteeable Sync requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
workingjubilee committed Jul 5, 2024
1 parent 3f7857e commit 6ee1176
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 6ee1176

Please sign in to comment.