Rust 2018

This commit is contained in:
gwenn
2018-10-30 20:11:35 +01:00
parent ebc3609a09
commit f04047db01
30 changed files with 236 additions and 234 deletions

View File

@@ -4,9 +4,9 @@
use std::os::raw::{c_char, c_int, c_void};
use std::ptr;
use ffi;
use crate::ffi;
use {Connection, InnerConnection};
use crate::{Connection, InnerConnection};
/// Authorizer Action Codes
#[derive(Debug, PartialEq)]
@@ -290,7 +290,7 @@ fn free_boxed_hook<F>(p: *mut c_void) {
mod test {
use super::Action;
use std::sync::atomic::{AtomicBool, Ordering};
use Connection;
use crate::Connection;
#[test]
fn test_commit_hook() {