Closed
Description
Describe the bug
My program did stop with the following error:
thread 'tokio-runtime-worker' panicked at 'already mutably borrowed: BorrowError', /Users/yfleury/.cargo/registry/src/github.com-1ecc6299db9ec823/firestore-db-and-auth-0.6.1/src/sessions.rs:308:45
Looking at the sessions.rs
line (308 in the log, 488 in this repo source code) it seems that the call to .borrow()
is panicking.
I'm kind of new to Rust so I'm not sure everything is right on my side.
To Reproduce
Here is my program https://github.com/BearStudio/twitch-listener
Steps to reproduce the behavior:
- Run with
cargo run
- Use documents like
struct Question {
id: String,
username: String,
message: String,
timestamp: String,
}
Expected behavior
I expect my program not to panic.