removed some harmless warnings

This commit is contained in:
shockrah 2020-09-15 22:56:45 -07:00
parent fb0df20715
commit d5f2b569cb
2 changed files with 1 additions and 3 deletions

View File

@ -2,9 +2,6 @@ mod member;
mod common; mod common;
use std::vec::Vec; use std::vec::Vec;
use mysql_async::Conn;
use mysql_async::prelude::Queryable; // lets us use the special dsl provided
use mysql_async::params as sql_params;
pub type BigInt = i64; pub type BigInt = i64;
pub type UBigInt = u64; pub type UBigInt = u64;

View File

@ -9,6 +9,7 @@ use crate::{UBigInt, BigInt, Integer, VarChar};
use crate::common::{FromDB, NO_CONN_MSG}; use crate::common::{FromDB, NO_CONN_MSG};
#[allow(dead_code)] // only because some fields are read by the user
pub struct Member { pub struct Member {
id: UBigInt, id: UBigInt,
secret: VarChar, secret: VarChar,