Skip to content

Commit

Permalink
Fix typo in phantomdata explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Apr 11, 2024
1 parent f0924a2 commit 03a0825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debug/tests/05-phantom-data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
//
// impl<T: ?Sized> Debug for PhantomData<T> {...}
//
// 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<T> in the test case below, it would be:
Expand Down

0 comments on commit 03a0825

Please sign in to comment.