about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-09-18 13:34:49 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2024-09-19 20:11:28 +1000
commit1f359405cb661dc6e30f194a941b6948e9c14a7a (patch)
tree0daea3d75a4dfad48093f5f0d7dab60d6916fbad /compiler/rustc_codegen_llvm/src/llvm/ffi.rs
parent5fd16dffdc28632a17adcb4c1cd57b37a50b9be5 (diff)
downloadrust-1f359405cb661dc6e30f194a941b6948e9c14a7a.tar.gz
rust-1f359405cb661dc6e30f194a941b6948e9c14a7a.zip
Reformat some comments.
So they are less than 100 chars.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm/ffi.rs')
-rw-r--r--compiler/rustc_codegen_llvm/src/llvm/ffi.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
index a07d45c0e02..a588f11b623 100644
--- a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
+++ b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
@@ -2150,7 +2150,8 @@ unsafe extern "C" {
 
     pub fn LLVMRustGetHostCPUName(len: *mut usize) -> *const c_char;
 
-    // This function makes copies of pointed to data, so the data's lifetime may end after this function returns
+    // This function makes copies of pointed to data, so the data's lifetime may end after this
+    // function returns.
     pub fn LLVMRustCreateTargetMachine(
         Triple: *const c_char,
         CPU: *const c_char,