Add a comment

This commit is contained in:
Ivan Ukhov 2015-05-28 19:21:25 -04:00
parent 4431d24fd7
commit af29001883

View File

@ -87,6 +87,7 @@ pub struct Database {
} }
impl Database { impl Database {
/// Open a database.
pub fn open(path: &Path) -> Result<Database> { pub fn open(path: &Path) -> Result<Database> {
let mut db = 0 as *mut _; let mut db = 0 as *mut _;
unsafe { success!(raw::sqlite3_open(path_to_c_str!(path), &mut db)) }; unsafe { success!(raw::sqlite3_open(path_to_c_str!(path), &mut db)) };