about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/src
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
commit1d42936b18d08ba414d9def35508d3baf2175c72 (patch)
tree51455a78c9b21656485c0f724385d966b0be7b77 /compiler/rustc_codegen_cranelift/src
parent0e9eee68111ec742c3d60bb96078994c494a59fb (diff)
downloadrust-1d42936b18d08ba414d9def35508d3baf2175c72.tar.gz
rust-1d42936b18d08ba414d9def35508d3baf2175c72.zip
Prefer doc comments over `//`-comments in compiler
Diffstat (limited to 'compiler/rustc_codegen_cranelift/src')
-rw-r--r--compiler/rustc_codegen_cranelift/src/value_and_place.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_cranelift/src/value_and_place.rs b/compiler/rustc_codegen_cranelift/src/value_and_place.rs
index c5bd574623d..34746ff6b66 100644
--- a/compiler/rustc_codegen_cranelift/src/value_and_place.rs
+++ b/compiler/rustc_codegen_cranelift/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>,