Update ofborg/src/easylapin.rs

Co-authored-by: Cole Helbling <cole.e.helbling@outlook.com>
This commit is contained in:
Daiderd Jordan 2020-05-23 21:41:11 +02:00 committed by GitHub
parent f652901df2
commit b6e870f5cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -115,8 +115,8 @@ impl<'a, W: SimpleWorker + 'a> ConsumerExt<'a, W> for CloseOnDrop<Channel> {
} }
} }
// Same as a regular channel, but without prefetching, /// Same as a regular channel, but without prefetching,
// used for services with multiple instances. /// used for services with multiple instances.
pub struct WorkerChannel(pub CloseOnDrop<Channel>); pub struct WorkerChannel(pub CloseOnDrop<Channel>);
impl<'a, W: SimpleWorker + 'a> ConsumerExt<'a, W> for WorkerChannel { impl<'a, W: SimpleWorker + 'a> ConsumerExt<'a, W> for WorkerChannel {