Skip to content

Commit

Permalink
Fix minor doc typo (#104)
Browse files Browse the repository at this point in the history
* Fix minor doc typo

* fix assert msg
  • Loading branch information
tmm1 authored Oct 30, 2024
1 parent 7b45cbf commit 4779e82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ impl<M: Manager> Builder<M> {
pub fn clean_rate(mut self, clean_rate: Duration) -> Builder<M> {
assert!(
clean_rate > Duration::from_secs(0),
"connection_timeout must be positive"
"clean_rate must be positive"
);

if clean_rate > Duration::from_secs(1) {
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ impl<M: Manager> Pool<M> {
///
/// Expired connections may be closed lazily before reuse.
///
/// None meas reuse forever.
/// None means reuse forever.
/// Defaults to None.
///
/// # Panics
Expand Down

0 comments on commit 4779e82

Please sign in to comment.