Skip to content

Commit 491a146

Browse files
committed
Make output lifetime more explicit in publish guard API
1 parent b939443 commit 491a146

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ impl<T: Send> Input<T> {
360360
///
361361
/// [`input_buffer_mut()`]: Input::input_buffer_mut
362362
/// [`publish()`]: Input::publish
363-
pub fn input_buffer_publisher(&mut self) -> InputPublishGuard<T> {
363+
pub fn input_buffer_publisher(&mut self) -> InputPublishGuard<'_, T> {
364364
InputPublishGuard { reference: self }
365365
}
366366
}

0 commit comments

Comments
 (0)