Skip to content

Commit

Permalink
Fix name of cfg condition.
Browse files Browse the repository at this point in the history
  • Loading branch information
partim committed Dec 30, 2024
1 parent 20fc6bb commit 2c8cd0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/length.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ impl Length {
}

/// Writes the encoded value to a target.
#[cfg(target_pointer_len = "64")]
#[cfg(target_pointer_width = "64")]
pub fn write_encoded<W: io::Write>(
&self,
target: &mut W
Expand Down Expand Up @@ -207,7 +207,7 @@ impl Length {
}

/// Writes the encoded value to a target.
#[cfg(not(target_pointer_len = "64"))]
#[cfg(not(target_pointer_width = "64"))]
pub fn write_encoded<W: io::Write>(
&self,
target: &mut W
Expand Down

0 comments on commit 2c8cd0b

Please sign in to comment.