Skip to content

Commit 315acf3

Browse files
committed
fix: suppress dead_code warning
1 parent 23431e5 commit 315acf3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sqlx-postgres/src/message/row_description.rs

+3
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,16 @@ pub struct Field {
2727

2828
/// The data type size (see pg_type.typlen). Note that negative values denote
2929
/// variable-width types.
30+
#[allow(dead_code)]
3031
pub data_type_size: i16,
3132

3233
/// The type modifier (see pg_attribute.atttypmod). The meaning of the
3334
/// modifier is type-specific.
35+
#[allow(dead_code)]
3436
pub type_modifier: i32,
3537

3638
/// The format code being used for the field.
39+
#[allow(dead_code)]
3740
pub format: i16,
3841
}
3942

0 commit comments

Comments
 (0)