Skip to content

Commit

Permalink
Merge pull request danburkert#48 from yangby-cryptape/fix-typo
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
mykmelez authored May 16, 2019
2 parents 4c86d59 + c85d365 commit 52151c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/environment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -439,8 +439,8 @@ impl EnvironmentBuilder {
/// Currently a moderate number of slots are cheap but a huge number gets
/// expensive: 7-120 words per transaction, and every `Transaction::open_db`
/// does a linear search of the opened slots.
pub fn set_max_dbs(&mut self, max_readers: c_uint) -> &mut EnvironmentBuilder {
self.max_dbs = Some(max_readers);
pub fn set_max_dbs(&mut self, max_dbs: c_uint) -> &mut EnvironmentBuilder {
self.max_dbs = Some(max_dbs);
self
}

Expand Down

0 comments on commit 52151c2

Please sign in to comment.