yield -> return
Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
This commit is contained in:
parent
40a18b075d
commit
0e9131fd14
@ -371,7 +371,7 @@ impl<D: Driver + 'static> Stack<D> {
|
|||||||
/// ## Notes:
|
/// ## Notes:
|
||||||
/// - Ensure [`Stack::run`] has been called before using this function.
|
/// - 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.
|
/// The caller is supposed to handle a timeout for this case.
|
||||||
///
|
///
|
||||||
/// ## Example
|
/// ## Example
|
||||||
|
Loading…
Reference in New Issue
Block a user