diff --git a/mongoc-sys/src/lib.rs b/mongoc-sys/src/lib.rs index 026c706..8e059cc 100644 --- a/mongoc-sys/src/lib.rs +++ b/mongoc-sys/src/lib.rs @@ -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; diff --git a/src/cursor.rs b/src/cursor.rs index 10b2c87..7e6f89f 100644 --- a/src/cursor.rs +++ b/src/cursor.rs @@ -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 {