mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-30 18:27:00 +01:00
craft-ui: cargo fmt
This commit is contained in:
1 parent
da6e6509fd
commit
fb32576d60
1 file changed
+1
-2
+1
-2
@@ -346,8 +346,7 @@ pub struct ShellEntry(#[doc(hidden)] pub Option<ShellCx>);
|
||||
impl crate::contract::MemoProps for ShellEntry {
|
||||
fn key(&self, key: &mut crate::contract::MemoKey) {
|
||||
let Some(shell) = &self.0 else { return key.write_u32(0) };
|
||||
let Inner { window, mode, tab_reveal, edges, tabs, panels_hidden, regions, float_bounds, region, reveals: _, dialog: _ } =
|
||||
&*shell.inner;
|
||||
let Inner { window, mode, tab_reveal, edges, tabs, panels_hidden, regions, float_bounds, region, reveals: _, dialog: _ } = &*shell.inner;
|
||||
key.write_u32(1);
|
||||
key.feed_hash(window);
|
||||
key.feed_hash(&std::mem::discriminant(mode));
|
||||
|
||||
Reference in new issue
Block a user