Skip to content

Commit 54c233b

Browse files
authored
Merge pull request #730 from icedland/update-2025-08-07
Fix doc warnings
2 parents f23b7cf + de25928 commit 54c233b

File tree

7 files changed

+7
-8
lines changed

7 files changed

+7
-8
lines changed

src/rust/iced-x86-py/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
#![warn(clippy::dbg_macro)]
4242
#![warn(clippy::debug_assert_with_mut_call)]
4343
#![warn(clippy::default_trait_access)]
44-
#![warn(clippy::doc_markdown)]
4544
#![warn(clippy::empty_line_after_outer_attr)]
4645
#![warn(clippy::expect_used)]
4746
#![warn(clippy::explicit_into_iter_loop)]

src/rust/iced-x86/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ impl SymbolResolver for MySymbolResolver {
291291
fn symbol(
292292
&mut self, _instruction: &Instruction, _operand: u32, _instruction_operand: Option<u32>,
293293
address: u64, _address_size: u32,
294-
) -> Option<SymbolResult> {
294+
) -> Option<SymbolResult<'_>> {
295295
if let Some(symbol_string) = self.map.get(&address) {
296296
// The 'address' arg is the address of the symbol and doesn't have to be identical
297297
// to the 'address' arg passed to symbol(). If it's different from the input

src/rust/iced-x86/src/formatter/fast.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,7 @@ struct FmtTableData {
715715
/// struct MySymbolResolver { map: HashMap<u64, String> }
716716
/// impl SymbolResolver for MySymbolResolver {
717717
/// fn symbol(&mut self, _instruction: &Instruction, _operand: u32, _instruction_operand: Option<u32>,
718-
/// address: u64, _address_size: u32) -> Option<SymbolResult> {
718+
/// address: u64, _address_size: u32) -> Option<SymbolResult<'_>> {
719719
/// if let Some(symbol_string) = self.map.get(&address) {
720720
/// // The 'address' arg is the address of the symbol and doesn't have to be identical
721721
/// // to the 'address' arg passed to symbol(). If it's different from the input
@@ -1811,7 +1811,7 @@ impl<TraitOptions: SpecializedFormatterTraitOptions> SpecializedFormatter<TraitO
18111811
/// struct MySymbolResolver { map: HashMap<u64, String> }
18121812
/// impl SymbolResolver for MySymbolResolver {
18131813
/// fn symbol(&mut self, _instruction: &Instruction, _operand: u32, _instruction_operand: Option<u32>,
1814-
/// address: u64, _address_size: u32) -> Option<SymbolResult> {
1814+
/// address: u64, _address_size: u32) -> Option<SymbolResult<'_>> {
18151815
/// if let Some(symbol_string) = self.map.get(&address) {
18161816
/// // The 'address' arg is the address of the symbol and doesn't have to be identical
18171817
/// // to the 'address' arg passed to symbol(). If it's different from the input

src/rust/iced-x86/src/formatter/gas.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ use core::mem;
6161
/// struct MySymbolResolver { map: HashMap<u64, String> }
6262
/// impl SymbolResolver for MySymbolResolver {
6363
/// fn symbol(&mut self, _instruction: &Instruction, _operand: u32, _instruction_operand: Option<u32>,
64-
/// address: u64, _address_size: u32) -> Option<SymbolResult> {
64+
/// address: u64, _address_size: u32) -> Option<SymbolResult<'_>> {
6565
/// if let Some(symbol_string) = self.map.get(&address) {
6666
/// // The 'address' arg is the address of the symbol and doesn't have to be identical
6767
/// // to the 'address' arg passed to symbol(). If it's different from the input

src/rust/iced-x86/src/formatter/intel.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ use alloc::vec::Vec;
5959
/// struct MySymbolResolver { map: HashMap<u64, String> }
6060
/// impl SymbolResolver for MySymbolResolver {
6161
/// fn symbol(&mut self, _instruction: &Instruction, _operand: u32, _instruction_operand: Option<u32>,
62-
/// address: u64, _address_size: u32) -> Option<SymbolResult> {
62+
/// address: u64, _address_size: u32) -> Option<SymbolResult<'_>> {
6363
/// if let Some(symbol_string) = self.map.get(&address) {
6464
/// // The 'address' arg is the address of the symbol and doesn't have to be identical
6565
/// // to the 'address' arg passed to symbol(). If it's different from the input

src/rust/iced-x86/src/formatter/masm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ use alloc::vec::Vec;
5959
/// struct MySymbolResolver { map: HashMap<u64, String> }
6060
/// impl SymbolResolver for MySymbolResolver {
6161
/// fn symbol(&mut self, _instruction: &Instruction, _operand: u32, _instruction_operand: Option<u32>,
62-
/// address: u64, _address_size: u32) -> Option<SymbolResult> {
62+
/// address: u64, _address_size: u32) -> Option<SymbolResult<'_>> {
6363
/// if let Some(symbol_string) = self.map.get(&address) {
6464
/// // The 'address' arg is the address of the symbol and doesn't have to be identical
6565
/// // to the 'address' arg passed to symbol(). If it's different from the input

src/rust/iced-x86/src/formatter/nasm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ use core::mem;
6161
/// struct MySymbolResolver { map: HashMap<u64, String> }
6262
/// impl SymbolResolver for MySymbolResolver {
6363
/// fn symbol(&mut self, _instruction: &Instruction, _operand: u32, _instruction_operand: Option<u32>,
64-
/// address: u64, _address_size: u32) -> Option<SymbolResult> {
64+
/// address: u64, _address_size: u32) -> Option<SymbolResult<'_>> {
6565
/// if let Some(symbol_string) = self.map.get(&address) {
6666
/// // The 'address' arg is the address of the symbol and doesn't have to be identical
6767
/// // to the 'address' arg passed to symbol(). If it's different from the input

0 commit comments

Comments
 (0)