Skip to content

Commit 628fbdf

Browse files
Fix unused_doc_comments lint errors
1 parent ac891ea commit 628fbdf

File tree

2 files changed

+6
-5
lines changed
  • compiler/rustc_codegen_llvm/src/llvm
  • library/portable-simd/crates/core_simd/src

2 files changed

+6
-5
lines changed

compiler/rustc_codegen_llvm/src/llvm/ffi.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -576,12 +576,12 @@ pub enum PassKind {
576576
Module,
577577
}
578578

579-
/// LLVMRustThinLTOData
579+
// LLVMRustThinLTOData
580580
extern "C" {
581581
pub type ThinLTOData;
582582
}
583583

584-
/// LLVMRustThinLTOBuffer
584+
// LLVMRustThinLTOBuffer
585585
extern "C" {
586586
pub type ThinLTOBuffer;
587587
}

library/portable-simd/crates/core_simd/src/intrinsics.rs

+4-3
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@
1818
//!
1919
//! Unless stated otherwise, all intrinsics for binary operations require SIMD vectors of equal types and lengths.
2020
21-
/// These intrinsics aren't linked directly from LLVM and are mostly undocumented, however they are
22-
/// mostly lowered to the matching LLVM instructions by the compiler in a fairly straightforward manner.
23-
/// The associated LLVM instruction or intrinsic is documented alongside each Rust intrinsic function.
21+
22+
// These intrinsics aren't linked directly from LLVM and are mostly undocumented, however they are
23+
// mostly lowered to the matching LLVM instructions by the compiler in a fairly straightforward manner.
24+
// The associated LLVM instruction or intrinsic is documented alongside each Rust intrinsic function.
2425
extern "platform-intrinsic" {
2526
/// add/fadd
2627
pub(crate) fn simd_add<T>(x: T, y: T) -> T;

0 commit comments

Comments
 (0)