mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-10-02 15:25:32 +00:00
fix(postgres): dead code StatementId::UNNAMED
This commit is contained in:
parent
781b659352
commit
77982cb407
@ -10,7 +10,6 @@ pub(crate) use sqlx_core::io::*;
|
||||
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
|
||||
pub(crate) struct StatementId(IdInner);
|
||||
|
||||
#[allow(dead_code)]
|
||||
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
|
||||
pub(crate) struct PortalId(IdInner);
|
||||
|
||||
@ -18,6 +17,7 @@ pub(crate) struct PortalId(IdInner);
|
||||
struct IdInner(Option<NonZeroU32>);
|
||||
|
||||
impl StatementId {
|
||||
#[allow(dead_code)]
|
||||
pub const UNNAMED: Self = Self(IdInner::UNNAMED);
|
||||
|
||||
pub const NAMED_START: Self = Self(IdInner::NAMED_START);
|
||||
|
Loading…
x
Reference in New Issue
Block a user