Skip to content

Commit 1644bdb

Browse files
committed
Use std debug builders
1 parent 5e08048 commit 1644bdb

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ language: rust
22
rust:
33
- nightly
44
- beta
5-
- stable
5+
- 1.2.0
66
addons:
77
postgresql: 9.4
88
script:

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,3 @@ keywords = ["database", "sql", "postgres"]
1111

1212
[dependencies]
1313
postgres = ">= 0.9, < 0.11"
14-
debug-builders = "0.1"

src/lib.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@
3333
#![doc(html_root_url="https://sfackler.github.io/rust-postgres-large-object/doc/v0.3.3")]
3434

3535
extern crate postgres;
36-
extern crate debug_builders;
3736

38-
use debug_builders::DebugStruct;
3937
use postgres::{Result, Transaction, GenericConnection};
4038
use postgres::error::Error;
4139
use postgres::types::Oid;
@@ -133,7 +131,7 @@ pub struct LargeObject<'a> {
133131

134132
impl<'a> fmt::Debug for LargeObject<'a> {
135133
fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
136-
DebugStruct::new(fmt, "LargeObject")
134+
fmt.debug_struct("LargeObject")
137135
.field("fd", &self.fd)
138136
.field("transaction", &self.trans)
139137
.finish()

0 commit comments

Comments
 (0)