diff options
author | Andrew Tunnell-Jones <andrew@tj.id.au> | 2018-09-26 19:47:31 +1000 |
---|---|---|
committer | Stjepan Glavina <stjepang@gmail.com> | 2018-09-26 11:47:31 +0200 |
commit | 46353737e7ce60ec8b3e77c044a6b2583de2fd51 (patch) | |
tree | 3a2e06ed7071fcf5b458977d83ab5f3b088c6baa /examples | |
parent | ffd73a64e7ec497622b7f939e38017afe7124dc4 (diff) |
tinydb: Update doc to reflect change from `RefCell` to `Mutex` (#663)
Fixes: #658
Diffstat (limited to 'examples')
-rw-r--r-- | examples/tinydb.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/tinydb.rs b/examples/tinydb.rs index 6901a120..134d01b1 100644 --- a/examples/tinydb.rs +++ b/examples/tinydb.rs @@ -56,7 +56,7 @@ use tokio::prelude::*; /// The in-memory database shared amongst all clients. /// /// This database will be shared via `Arc`, so to mutate the internal map we're -/// also going to use a `RefCell` for interior mutability. +/// going to use a `Mutex` for interior mutability. struct Database { map: Mutex<HashMap<String, String>>, } |