mirror of
https://github.com/launchbadge/sqlx
synced 2024-11-10 06:24:16 +00:00
fix(postgres): dead code StatementId::UNNAMED
This commit is contained in:
parent
781b659352
commit
77982cb407
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue