From 46c1da6740982739a4cb3d2e9d553ac94ad38d22 Mon Sep 17 00:00:00 2001 From: Oliver Scherer Date: Thu, 13 Dec 2018 12:23:49 +0100 Subject: [PATCH] Doc comment format --- src/librustc_mir/hair/pattern/_match.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/librustc_mir/hair/pattern/_match.rs b/src/librustc_mir/hair/pattern/_match.rs index 2880ffa5891..6ec82d8496d 100644 --- a/src/librustc_mir/hair/pattern/_match.rs +++ b/src/librustc_mir/hair/pattern/_match.rs @@ -208,11 +208,11 @@ struct LiteralExpander<'a, 'tcx> { } impl<'a, 'tcx> LiteralExpander<'a, 'tcx> { - /// Derefs `val` and potentially unsizes the value if `crty` is an array and `rty` a slice + /// Derefs `val` and potentially unsizes the value if `crty` is an array and `rty` a slice. /// /// `crty` and `rty` can differ because you can use array constants in the presence of slice /// patterns. So the pattern may end up being a slice, but the constant is an array. We convert - /// the array to a slice in that case + /// the array to a slice in that case. fn fold_const_value_deref( &mut self, val: ConstValue<'tcx>, -- 2.44.0