chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41ba953
)
wdriver: Add an allow for a field used only for its Drop behaviour
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 6 Mar 2022 11:46:38 +0000
(11:46 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 6 Mar 2022 11:46:38 +0000
(11:46 +0000)
wdriver/wdriver.rs
patch
|
blob
|
history
diff --git
a/wdriver/wdriver.rs
b/wdriver/wdriver.rs
index ec07a46f2b1a60cafce9d485948653e88b1404c6..f0d190a7246a38741f4c5ec4fbc9d3eeb4301274 100644
(file)
--- a/
wdriver/wdriver.rs
+++ b/
wdriver/wdriver.rs
@@
-50,7
+50,7
@@
pub struct Setup {
driver: T4d,
current_window: WindowState,
screenshot_count: ScreenShotCount,
- final_hook: FinalInfoCollection,
+
#[allow(dead_code)] /* here for Drop impl */
final_hook: FinalInfoCollection,
windows_squirreled: Vec<JsLogfile>, // see Drop impl
}
deref_to_field_mut!{Setup, SetupCore, core}