From c85d3657a7ae2e2ea040944e864b763981373fa0 Mon Sep 17 00:00:00 2001 From: Boyu Yang Date: Mon, 13 May 2019 22:21:59 +0800 Subject: [PATCH] Fix typo --- src/environment.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/environment.rs b/src/environment.rs index e31d9f1..b5b85e0 100644 --- a/src/environment.rs +++ b/src/environment.rs @@ -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 }