Skip to content

Commit 2c8cd0b

Browse files
committed
Fix name of cfg condition.
1 parent 20fc6bb commit 2c8cd0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/length.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ impl Length {
159159
}
160160

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

209209
/// Writes the encoded value to a target.
210-
#[cfg(not(target_pointer_len = "64"))]
210+
#[cfg(not(target_pointer_width = "64"))]
211211
pub fn write_encoded<W: io::Write>(
212212
&self,
213213
target: &mut W

0 commit comments

Comments
 (0)