/ web / clippy.toml
clippy.toml
1  await-holding-invalid-types = [
2    "generational_box::GenerationalRef",
3    { path = "generational_box::GenerationalRef", reason = "Reads should not be held over an await point. This will cause any writes to fail while the await is pending since the read borrow is still active." },
4    "generational_box::GenerationalRefMut",
5    { path = "generational_box::GenerationalRefMut", reason = "Write should not be held over an await point. This will cause any reads or writes to fail while the await is pending since the write borrow is still active." },
6    "dioxus_signals::WriteLock",
7    { path = "dioxus_signals::WriteLock", reason = "Write should not be held over an await point. This will cause any reads or writes to fail while the await is pending since the write borrow is still active." },
8  ]