Merge pull request #48 from yangby-cryptape/fix-typo

Fix typo
without.crypto
Myk Melez 6 years ago committed by GitHub
commit 52151c295a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/environment.rs

@ -439,8 +439,8 @@ impl EnvironmentBuilder {
/// Currently a moderate number of slots are cheap but a huge number gets /// Currently a moderate number of slots are cheap but a huge number gets
/// expensive: 7-120 words per transaction, and every `Transaction::open_db` /// expensive: 7-120 words per transaction, and every `Transaction::open_db`
/// does a linear search of the opened slots. /// does a linear search of the opened slots.
pub fn set_max_dbs(&mut self, max_readers: c_uint) -> &mut EnvironmentBuilder { pub fn set_max_dbs(&mut self, max_dbs: c_uint) -> &mut EnvironmentBuilder {
self.max_dbs = Some(max_readers); self.max_dbs = Some(max_dbs);
self self
} }

Loading…
Cancel
Save