about summary refs log tree commit diff
path: root/library/alloc/tests/autotraits.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/alloc/tests/autotraits.rs')
-rw-r--r--library/alloc/tests/autotraits.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/alloc/tests/autotraits.rs b/library/alloc/tests/autotraits.rs
index 6a8e55bff23..b41e457614e 100644
--- a/library/alloc/tests/autotraits.rs
+++ b/library/alloc/tests/autotraits.rs
@@ -14,8 +14,8 @@ fn test_btree_map() {
     //
     // We test autotraits in this convoluted way, instead of a straightforward
     // `require_send_sync::<TypeIWantToTest>()`, because the interaction with
-    // generators exposes some current limitations in rustc's ability to prove a
-    // lifetime bound on the erased generator witness types. See the above link.
+    // coroutines exposes some current limitations in rustc's ability to prove a
+    // lifetime bound on the erased coroutine witness types. See the above link.
     //
     // A typical way this would surface in real code is:
     //