aboutsummaryrefslogtreecommitdiff
path: root/embassy-net
diff options
context:
space:
mode:
authorJulian <[email protected]>2023-09-09 12:36:57 +0200
committerGitHub <[email protected]>2023-09-09 12:36:57 +0200
commit0e9131fd1465d8fc765c4da05ce63d9dfbf950c7 (patch)
treef62a433e2d2a63ae60035acbf8c167ad26c353de /embassy-net
parent40a18b075dc80048233c54f5cff80658405a9050 (diff)
yield -> return
Co-authored-by: Dario Nieuwenhuis <[email protected]>
Diffstat (limited to 'embassy-net')
-rw-r--r--embassy-net/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-net/src/lib.rs b/embassy-net/src/lib.rs
index 87247c8e1..de32edc2f 100644
--- a/embassy-net/src/lib.rs
+++ b/embassy-net/src/lib.rs
@@ -371,7 +371,7 @@ impl<D: Driver + 'static> Stack<D> {
371 /// ## Notes: 371 /// ## Notes:
372 /// - Ensure [`Stack::run`] has been called before using this function. 372 /// - Ensure [`Stack::run`] has been called before using this function.
373 /// 373 ///
374 /// - This function may never yield (e.g. if no configuration is obtained through DHCP). 374 /// - This function may never return (e.g. if no configuration is obtained through DHCP).
375 /// The caller is supposed to handle a timeout for this case. 375 /// The caller is supposed to handle a timeout for this case.
376 /// 376 ///
377 /// ## Example 377 /// ## Example