Skip to content

Commit f7d4143

Browse files
committed
Make the argument's name of set_max_dbs consistent
This was confusing to the reader of the documention.
1 parent c64f0b4 commit f7d4143

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/environment.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,8 +308,8 @@ impl EnvironmentBuilder {
308308
/// Currently a moderate number of slots are cheap but a huge number gets
309309
/// expensive: 7-120 words per transaction, and every `Transaction::open_db`
310310
/// does a linear search of the opened slots.
311-
pub fn set_max_dbs(&mut self, max_readers: c_uint) -> &mut EnvironmentBuilder {
312-
self.max_dbs = Some(max_readers);
311+
pub fn set_max_dbs(&mut self, max_dbs: c_uint) -> &mut EnvironmentBuilder {
312+
self.max_dbs = Some(max_dbs);
313313
self
314314
}
315315

0 commit comments

Comments
 (0)