(#15) Remove "returns" from <returns>

This commit is contained in:
Oliver Booth 2021-03-07 14:14:14 +00:00
parent 4ff9cb4405
commit fc96840e9d
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ namespace X10D.WaitHandleExtensions
/// Returns a <see cref="Task" /> which can be awaited until the current <see cref="WaitHandle" /> receives a signal. /// Returns a <see cref="Task" /> which can be awaited until the current <see cref="WaitHandle" /> receives a signal.
/// </summary> /// </summary>
/// <param name="handle">The <see cref="WaitHandle" /> instance.</param> /// <param name="handle">The <see cref="WaitHandle" /> instance.</param>
/// <returns>Returns a task which wraps <see cref="WaitHandle.WaitOne()" />.</returns> /// <returns>A task which encapsulates <see cref="WaitHandle.WaitOne()" />.</returns>
public static Task WaitOneAsync(this WaitHandle handle) public static Task WaitOneAsync(this WaitHandle handle)
{ {
return new(() => handle.WaitOne()); return new(() => handle.WaitOne());