Skip to content

Commit 46c1da6

Browse files
committed
Doc comment format
1 parent 7d1b19c commit 46c1da6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc_mir/hair/pattern/_match.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,11 +208,11 @@ struct LiteralExpander<'a, 'tcx> {
208208
}
209209

210210
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.
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>,

0 commit comments

Comments
 (0)