Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
MattiasBuelens committed Sep 27, 2024
1 parent 9eee67d commit 7556f73
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/readable/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,9 @@ impl ReadableStream {
// Set HWM to 0 to prevent the JS ReadableStream from buffering chunks in its queue,
// since the original Rust stream is better suited to handle that.
let strategy = QueuingStrategy::new(0.0);
let raw = sys::ReadableStreamExt::new_with_into_underlying_source(source, strategy.into_raw())
.unchecked_into();
let raw =
sys::ReadableStreamExt::new_with_into_underlying_source(source, strategy.into_raw())
.unchecked_into();
Self::from_raw(raw)
}

Expand Down
2 changes: 1 addition & 1 deletion src/readable/sys.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ pub use web_sys::ReadableStreamByobRequest as ReadableStreamBYOBRequest;
pub use web_sys::ReadableStreamDefaultController;
pub use web_sys::ReadableStreamDefaultReader;
pub use web_sys::ReadableStreamGetReaderOptions;
pub use web_sys::ReadableStreamReaderMode;
pub use web_sys::ReadableStreamReadResult;
pub use web_sys::ReadableStreamReaderMode;
pub use web_sys::ReadableStreamType;
pub use web_sys::StreamPipeOptions as PipeOptions;

Expand Down

0 comments on commit 7556f73

Please sign in to comment.