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> {
208
208
}
209
209
210
210
impl < ' 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.
212
212
///
213
213
/// `crty` and `rty` can differ because you can use array constants in the presence of slice
214
214
/// 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.
216
216
fn fold_const_value_deref (
217
217
& mut self ,
218
218
val : ConstValue < ' tcx > ,
You can’t perform that action at this time.
0 commit comments