Tweak comments

pull/11/head
Thijs Cadier 9 years ago
parent ac9dd3a357
commit fcabf5e262

@ -4,7 +4,7 @@ extern crate openssl_sys;
#[allow(non_camel_case_types,non_snake_case)]
pub mod bindings {
// Bindings are based on the ones generated by rust-bindgen. These can be generated like this:
// bindgen -I ~/path/mongo-rust-driver/mongoc-sys/mongo-c-driver-{version}/src/libbson/src/bson ~/path/mongo-rust-driver/mongoc-sys/mongo-c-driver-{version}/src/mongoc/mongoc.h
// bindgen -I ~/path/mongo-rust-driver/mongoc-sys/mongo-c-driver-{version}/src/libbson/src/bson ~/path/mongo-rust-driver/mongoc-sys/mongo-c-driver-{version}/src/mongoc/mongoc.h
pub type int8_t = ::libc::c_char;
pub type int16_t = ::libc::c_short;

@ -97,7 +97,7 @@ impl<'a> Iterator for Cursor<'a> {
};
// Fetch error that might have occurred while getting
// the next cursor.
// the next item.
let error = self.error();
if success == 0 {

Loading…
Cancel
Save