I’m working a project that uses Firestore, so I’m using the firestore crate to help me interact with my database. There are two examples showing the use of transactions in the source code: transactions.rs read-write-transactions.rs There are some parts of those examples that are a little confusing, so I’m writing this article to try and shed some light. I was not the only one confused by this, and luckily someone brought this up in a Github issue before I had to.