bsonc and error don't need to be public

pull/9/head
Thijs Cadier 9 years ago
parent 728c628340
commit b2d927c137

@ -2,6 +2,7 @@
extern crate libc;
extern crate mongo_c_driver_wrapper;
#[macro_use]
extern crate bson;
@ -10,18 +11,19 @@ use std::sync::{Once,ONCE_INIT};
use mongo_c_driver_wrapper::bindings;
pub mod bsonc;
pub mod bulk_operation;
pub mod client;
pub mod collection;
pub mod cursor;
pub mod database;
pub mod error;
pub mod flags;
pub mod read_prefs;
pub mod uri;
pub mod write_concern;
mod bsonc;
mod error;
pub use error::{MongoError,BsoncError,InvalidParamsError};
pub type Result<T> = result::Result<T, MongoError>;

Loading…
Cancel
Save