| ... | @@ -326,6 +326,7 @@ pub struct Library { | ... | @@ -326,6 +326,7 @@ pub struct Library { |
| 326 | /// Sections opened ahead of being shown, or left open after, most recent first, which | 326 | /// Sections opened ahead of being shown, or left open after, most recent first, which |
| 327 | /// `open` hands out before opening any. | 327 | /// `open` hands out before opening any. |
| 328 | kept: Mutex<crate::prefetch::Recent<String, Section>>, | 328 | kept: Mutex<crate::prefetch::Recent<String, Section>>, |
| | 329 | #[allow(clippy::type_complexity)] |
| 329 | pub(crate) renames: Arc<Mutex<BTreeMap<[u8; 16], (String, Arc<()>)>>>, | 330 | pub(crate) renames: Arc<Mutex<BTreeMap<[u8; 16], (String, Arc<()>)>>>, |
| 330 | pub(crate) structure: Arc<async_lock::Mutex<()>>, | 331 | pub(crate) structure: Arc<async_lock::Mutex<()>>, |
| 331 | themes: Mutex<ThemeCache>, | 332 | themes: Mutex<ThemeCache>, |
| ... | @@ -1745,7 +1746,7 @@ mod tests { | ... | @@ -1745,7 +1746,7 @@ mod tests { |
| 1745 | let file = root.join("Stalled.one"); | 1746 | let file = root.join("Stalled.one"); |
| 1746 | notebook::fs::write( | 1747 | notebook::fs::write( |
| 1747 | &file, | 1748 | &file, |
| 1748 | &onestore::create_section("Stalled.one", "", "Author").unwrap(), | 1749 | onestore::create_section("Stalled.one", "", "Author").unwrap(), |
| 1749 | ) | 1750 | ) |
| 1750 | .unwrap(); | 1751 | .unwrap(); |
| 1751 | let (entered, waiting) = mpsc::channel(); | 1752 | let (entered, waiting) = mpsc::channel(); |