Skip to content

Commit 03a0825

Browse files
committed
Fix typo in phantomdata explanation
1 parent f0924a2 commit 03a0825

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

debug/tests/05-phantom-data.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//
44
// impl<T: ?Sized> Debug for PhantomData<T> {...}
55
//
6-
// To accomodate this sort of situation, one way would be to generate a trait
6+
// To accommodate this sort of situation, one way would be to generate a trait
77
// bound `#field_ty: Debug` for each field type in the input, rather than
88
// `#param: Debug` for each generic parameter. For example in the case of the
99
// struct Field<T> in the test case below, it would be:

0 commit comments

Comments
 (0)