about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMaybe Waffle <waffle.lapkin@gmail.com>2022-11-27 11:15:06 +0000
committerMaybe Waffle <waffle.lapkin@gmail.com>2022-11-27 11:19:04 +0000
commita085a2ad2db4a03939c4ad07458398837676cbd5 (patch)
treeeaaf83496a7d4c327ca54b78699bc100b6386168
parent69a7692c9136cdf429559c1e14b6b13293313fe4 (diff)
downloadrust-a085a2ad2db4a03939c4ad07458398837676cbd5.tar.gz
rust-a085a2ad2db4a03939c4ad07458398837676cbd5.zip
Prefer doc comments over `//`-comments in compiler
-rw-r--r--src/value_and_place.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/value_and_place.rs b/src/value_and_place.rs
index c5bd574623d..34746ff6b66 100644
--- a/src/value_and_place.rs
+++ b/src/value_and_place.rs
@@ -108,8 +108,8 @@ impl<'tcx> CValue<'tcx> {
     }
 
     // FIXME remove
-    // Forces the data value of a dyn* value to the stack and returns a pointer to it as well as the
-    // vtable pointer.
+    /// Forces the data value of a dyn* value to the stack and returns a pointer to it as well as the
+    /// vtable pointer.
     pub(crate) fn dyn_star_force_data_on_stack(
         self,
         fx: &mut FunctionCx<'_, '_, 'tcx>,