We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e397a8 commit 8b80ebaCopy full SHA for 8b80eba
src/lib.rs
@@ -665,7 +665,7 @@ impl InnerConnection {
665
}
666
667
fn get_type(&mut self, oid: Oid) -> Result<Type> {
668
- if let Some(ty) = Type::new(oid) {
+ if let Some(ty) = Type::from_oid(oid) {
669
return Ok(ty);
670
671
@@ -1353,10 +1353,6 @@ trait DbErrorNew {
1353
fn new<T>(fields: Vec<(u8, String)>) -> Result<T>;
1354
1355
1356
-trait TypeNew {
1357
- fn new(oid: Oid) -> Option<Type>;
1358
-}
1359
-
1360
trait RowsNew<'a> {
1361
fn new(stmt: &'a Statement<'a>, data: Vec<Vec<Option<Vec<u8>>>>) -> Rows<'a>;
1362
0 commit comments