fix typos (#50)

This commit is contained in:
avinassh
2020-05-21 01:28:16 +05:30
committed by GitHub
parent 4c9edec0b1
commit 4c9ef8b31f
6 changed files with 8 additions and 8 deletions

View File

@@ -253,7 +253,7 @@ impl Drop for Db {
//
// First, determine if this is the last `Db` instance. This is done by
// checking `strong_count`. The count will be 2. One for this `Db`
// intance and one for the handle held by the background task.
// instance and one for the handle held by the background task.
if Arc::strong_count(&self.shared) == 2 {
// The background task must be signaled to shutdown. This is done by
// setting `State::shutdown` to `true` and signalling the task.