Skip to content

Commit 2bcae4a

Browse files
committed
Updating verbiage to remove references to unsafe and safe
1 parent f3fd5c8 commit 2bcae4a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/iface/interface/mod.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -401,9 +401,8 @@ impl Interface {
401401
/// This function performs a bounded amount of work per call to avoid
402402
/// starving other tasks of CPU time. If it returns true, there may still be
403403
/// packets to be received or transmitted. Depending on system design,
404-
/// calling this function in a loop may cause a denial of service: it is
405-
/// safe if packets can be processed faster than they arrive, and unsafe
406-
/// otherwise.
404+
/// calling this function in a loop may cause a denial of service if
405+
/// packets cannot be processed faster than they arrive.
407406
pub fn poll<D>(
408407
&mut self,
409408
timestamp: Instant,

0 commit comments

Comments
 (0)