Skip to content

Commit 59bca89

Browse files
committed
Corrected comment
1 parent 7102a6c commit 59bca89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

concurrency/src/tasks/gen_server.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,8 +332,8 @@ pub trait GenServer: Send + Sized {
332332
}
333333
}
334334

335-
/// Spawns a task that awaits on a future and sends messages to a GenServer.
336-
///
335+
/// Spawns a task that awaits on a future and sends a message to a GenServer
336+
/// on completion.
337337
/// This function returns a handle to the spawned task.
338338
pub fn send_message_on<T, U>(
339339
handle: GenServerHandle<T>,

0 commit comments

Comments
 (0)