From 03a0825a7868634d8decc4d63ec6f3dcdd6560f4 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Wed, 10 Apr 2024 17:11:53 -0700 Subject: [PATCH] Fix typo in phantomdata explanation --- debug/tests/05-phantom-data.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debug/tests/05-phantom-data.rs b/debug/tests/05-phantom-data.rs index b3756a319..cfbdb3c81 100644 --- a/debug/tests/05-phantom-data.rs +++ b/debug/tests/05-phantom-data.rs @@ -3,7 +3,7 @@ // // impl Debug for PhantomData {...} // -// To accomodate this sort of situation, one way would be to generate a trait +// To accommodate this sort of situation, one way would be to generate a trait // bound `#field_ty: Debug` for each field type in the input, rather than // `#param: Debug` for each generic parameter. For example in the case of the // struct Field in the test case below, it would be: