File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
compiler/rustc_typeck/src/check/method Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -159,21 +159,21 @@ pub struct Pick<'tcx> {
159159 pub kind : PickKind < ' tcx > ,
160160 pub import_ids : SmallVec < [ LocalDefId ; 1 ] > ,
161161
162- // Indicates that the source expression should be autoderef'd N times
163- //
164- // A = expr | *expr | **expr | ...
162+ /// Indicates that the source expression should be autoderef'd N times
163+ ///
164+ /// A = expr | *expr | **expr | ...
165165 pub autoderefs : usize ,
166166
167- // Indicates that an autoref is applied after the optional autoderefs
168- //
169- // B = A | &A | &mut A
167+ /// Indicates that an autoref is applied after the optional autoderefs
168+ ///
169+ /// B = A | &A | &mut A
170170 pub autoref : Option < hir:: Mutability > ,
171171
172- // Indicates that the source expression should be "unsized" to a
173- // target type. This should probably eventually go away in favor
174- // of just coercing method receivers.
175- //
176- // C = B | unsize(B)
172+ /// Indicates that the source expression should be "unsized" to a
173+ /// target type. This should probably eventually go away in favor
174+ /// of just coercing method receivers.
175+ ///
176+ /// C = B | unsize(B)
177177 pub unsize : Option < Ty < ' tcx > > ,
178178}
179179
You can’t perform that action at this time.
0 commit comments