Skip to content

Commit 2e9ba07

Browse files
committed
fix(postgres): dead code StatementId::UNNAMED
1 parent 445b789 commit 2e9ba07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlx-postgres/src/io/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ pub(crate) use sqlx_core::io::*;
1010
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
1111
pub(crate) struct StatementId(IdInner);
1212

13-
#[allow(dead_code)]
1413
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
1514
pub(crate) struct PortalId(IdInner);
1615

1716
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
1817
struct IdInner(Option<NonZeroU32>);
1918

2019
impl StatementId {
20+
#[allow(dead_code)]
2121
pub const UNNAMED: Self = Self(IdInner::UNNAMED);
2222

2323
pub const NAMED_START: Self = Self(IdInner::NAMED_START);

0 commit comments

Comments
 (0)