Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
aschey committed Apr 18, 2024
1 parent fabe74b commit 89ea4e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platuned/server/src/ipc_stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pub struct IpcStream(Pin<Box<dyn ReadWrite + Send>>);

impl IpcStream {
pub fn get_async_stream(
path: impl IntoIpcPath + Send,
path: impl IntoIpcPath,
) -> io::Result<impl Stream<Item = io::Result<IpcStream>>> {
let stream = Endpoint::new(path, OnConflict::Overwrite)?.incoming()?;
Ok(stream.map(|next| next.map(|s| IpcStream(Box::pin(s)))))
Expand Down

0 comments on commit 89ea4e8

Please sign in to comment.