Regenerate the matrix over the third wave
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -46,14 +46,17 @@ use slint::ComponentHandle;
|
||||
use crate::library_ui::LibraryController;
|
||||
use crate::AppWindow;
|
||||
|
||||
/// What the open question is about.
|
||||
///
|
||||
/// A thread-local rather than a field on `LibraryController`, because the
|
||||
/// question is asked *before* that controller has a catalog and is answered by
|
||||
/// callbacks wired at startup. Thread-local is sound here for the same reason
|
||||
/// [`crate::memory`]'s registry is: everything below runs on the Slint event
|
||||
/// loop thread, which is the only thread that has an `AppWindow` to show it
|
||||
/// on.
|
||||
// What the open question is about.
|
||||
//
|
||||
// A thread-local rather than a field on `LibraryController`, because the
|
||||
// question is asked *before* that controller has a catalog and is answered by
|
||||
// callbacks wired at startup. Thread-local is sound here for the same reason
|
||||
// `crate::memory`'s registry is: everything below runs on the Slint event
|
||||
// loop thread, which is the only thread that has an `AppWindow` to show it
|
||||
// on.
|
||||
//
|
||||
// Plain `//` rather than `///`: rustdoc does not document a macro invocation,
|
||||
// and `-D warnings` rejects a doc comment that can never be rendered.
|
||||
thread_local! {
|
||||
static PENDING: RefCell<Option<Pending>> = const { RefCell::new(None) };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user