Skip to content

Commit b921141

Browse files
committed
Fix comment on clone().
1 parent 906aeba commit b921141

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -527,8 +527,8 @@ impl TaskLocals {
527527
}
528528

529529
impl Clone for TaskLocals {
530-
/// Create a clone of the TaskLocals by incrementing the reference counters of the event loop and
531-
/// contextvars.
530+
/// Create a clone of the TaskLocals by incrementing the reference counter of the inner
531+
/// structure.
532532
fn clone(&self) -> Self {
533533
Self(self.0.clone())
534534
}

0 commit comments

Comments
 (0)