From 46353737e7ce60ec8b3e77c044a6b2583de2fd51 Mon Sep 17 00:00:00 2001 From: Andrew Tunnell-Jones Date: Wed, 26 Sep 2018 19:47:31 +1000 Subject: tinydb: Update doc to reflect change from `RefCell` to `Mutex` (#663) Fixes: #658 --- examples/tinydb.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') 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>, } -- cgit v1.2.3