Update lib.rs
This commit is contained in:
parent
2b8abfcc9a
commit
b6591c25a4
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ impl Default for CookieStoreMutex {
|
||||||
impl CookieStoreMutex {
|
impl CookieStoreMutex {
|
||||||
/// Create a new [`CookieStoreMutex`] from an existing [`cookie_store::CookieStore`].
|
/// Create a new [`CookieStoreMutex`] from an existing [`cookie_store::CookieStore`].
|
||||||
pub const fn new(cookie_store: CookieStore) -> CookieStoreMutex {
|
pub const fn new(cookie_store: CookieStore) -> CookieStoreMutex {
|
||||||
CookieStoreMutex(Mutex::const_new(cookie_store))
|
CookieStoreMutex(Mutex::new(cookie_store))
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Lock and get a handle to the contained [`cookie_store::CookieStore`].
|
/// Lock and get a handle to the contained [`cookie_store::CookieStore`].
|
||||||
|
|
Loading…
Reference in a new issue