File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/librustc_mir/hair/pattern Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -208,11 +208,11 @@ struct LiteralExpander<'a, 'tcx> {
208208}
209209
210210impl < ' a , ' tcx > LiteralExpander < ' a , ' tcx > {
211- /// Derefs `val` and potentially unsizes the value if `crty` is an array and `rty` a slice
211+ /// Derefs `val` and potentially unsizes the value if `crty` is an array and `rty` a slice.
212212 ///
213213 /// `crty` and `rty` can differ because you can use array constants in the presence of slice
214214 /// patterns. So the pattern may end up being a slice, but the constant is an array. We convert
215- /// the array to a slice in that case
215+ /// the array to a slice in that case.
216216 fn fold_const_value_deref (
217217 & mut self ,
218218 val : ConstValue < ' tcx > ,
You can’t perform that action at this time.
0 commit comments