Skip to content

Commit bfe7edf

Browse files
committed
Remove deprecated method
1 parent de97f79 commit bfe7edf

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/types/mod.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -131,15 +131,6 @@ macro_rules! make_postgres_type {
131131
}
132132
}
133133

134-
/// Returns the OID of the `Type`.
135-
///
136-
/// # Deprecated
137-
///
138-
/// Use `oid` instead.
139-
pub fn to_oid(&self) -> Oid {
140-
self.oid()
141-
}
142-
143134
/// Returns the OID of the `Type`.
144135
pub fn oid(&self) -> Oid {
145136
match *self {

0 commit comments

Comments
 (0)