yield -> return

Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
This commit is contained in:
Julian 2023-09-09 12:36:57 +02:00 committed by GitHub
parent 40a18b075d
commit 0e9131fd14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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