about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/callee.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-09-18 06:57:19 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2024-09-19 20:10:42 +1000
commiteb575506f2adc26702fb33bb5c3879afeca5a9d8 (patch)
tree2b5978743d0f7afb2a5c5437dca6a1612483c0c4 /compiler/rustc_codegen_llvm/src/callee.rs
parent4ce010efcf8dd93a3f20d3f53fe960d937469a5c (diff)
downloadrust-eb575506f2adc26702fb33bb5c3879afeca5a9d8.tar.gz
rust-eb575506f2adc26702fb33bb5c3879afeca5a9d8.zip
Remove a low-value comment.
We rarely use parameter comments, and these ones don't tell us anything
interesting.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/callee.rs')
-rw-r--r--compiler/rustc_codegen_llvm/src/callee.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/compiler/rustc_codegen_llvm/src/callee.rs b/compiler/rustc_codegen_llvm/src/callee.rs
index 949fd1bc124..a82ff6a8c26 100644
--- a/compiler/rustc_codegen_llvm/src/callee.rs
+++ b/compiler/rustc_codegen_llvm/src/callee.rs
@@ -15,11 +15,6 @@ use crate::value::Value;
 
 /// Codegens a reference to a fn/method item, monomorphizing and
 /// inlining as it goes.
-///
-/// # Parameters
-///
-/// - `cx`: the crate context
-/// - `instance`: the instance to be instantiated
 pub(crate) fn get_fn<'ll, 'tcx>(cx: &CodegenCx<'ll, 'tcx>, instance: Instance<'tcx>) -> &'ll Value {
     let tcx = cx.tcx();