Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
rs: apply cargo clippy
  • Loading branch information
jiegec committed Sep 22, 2025
commit b76579e3359f15f219d821501ca3f8c46fa3cffd
2 changes: 1 addition & 1 deletion capstone-rs/src/arch/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ macro_rules! def_arch_details_struct {
$iter_struct

impl<'a> $OperandIteratorLife {
fn new(ops: &[$cs_arch_op]) -> $OperandIterator {
fn new(ops: &[$cs_arch_op]) -> $OperandIterator<'_> {
$OperandIterator(ops.iter())
}
}
Expand Down
2 changes: 1 addition & 1 deletion capstone-rs/src/instruction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ impl InsnDetail<'_> {
}

/// Architecture-specific detail
pub fn arch_detail(&self) -> ArchDetail {
pub fn arch_detail(&self) -> ArchDetail<'_> {
macro_rules! def_arch_detail_match {
(
$( [ $ARCH:ident, $detail:ident, $insn_detail:ident, $arch:ident, $feature:literal ] )*
Expand Down
Loading