Skip to content

Commit a8a3caf

Browse files
committed
Drop unsafe_destructor feature
1 parent 7bfa960 commit a8a3caf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
//! io::copy(&mut large_object, &mut file).unwrap();
3131
//! }
3232
//! ```
33-
#![feature(unsafe_destructor, io, core)]
33+
#![feature(io, core)]
3434
#![doc(html_root_url="https://sfackler.github.io/rust-postgres-large-object/doc")]
3535

3636
extern crate postgres;
@@ -139,7 +139,6 @@ impl<'a> fmt::Debug for LargeObject<'a> {
139139
}
140140
}
141141

142-
#[unsafe_destructor]
143142
impl<'a> Drop for LargeObject<'a> {
144143
fn drop(&mut self) {
145144
let _ = self.finish_inner();

0 commit comments

Comments
 (0)