yield -> return
Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
This commit is contained in:
parent
40a18b075d
commit
0e9131fd14
1 changed files with 1 additions and 1 deletions
|
@ -371,7 +371,7 @@ impl<D: Driver + 'static> Stack<D> {
|
|||
/// ## Notes:
|
||||
/// - Ensure [`Stack::run`] has been called before using this function.
|
||||
///
|
||||
/// - This function may never yield (e.g. if no configuration is obtained through DHCP).
|
||||
/// - This function may never return (e.g. if no configuration is obtained through DHCP).
|
||||
/// The caller is supposed to handle a timeout for this case.
|
||||
///
|
||||
/// ## Example
|
||||
|
|
Loading…
Reference in a new issue