chiark / gitweb /
wdriver: Expose contents of WPiece
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 6 Mar 2022 11:49:37 +0000 (11:49 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 6 Mar 2022 11:49:37 +0000 (11:49 +0000)
These ought to have been pub.  As it happens we only used them here in
this module so we didn't notice - except that the JsV is just there in
case and happens not to be used.

wdriver/wdriver.rs

index 1b32cfba1a861a7465881dbf4ee73ea18390ca45..ae5781d30def7693ffea5b32988c0a64eb1a3390 100644 (file)
@@ -278,8 +278,8 @@ impl Debug for WindowGuard<'_> {
 
 #[derive(Deserialize,Clone,Debug)]
 pub struct WPiece {
-  piece: Vpid,
-  p: JsV,
+  pub piece: Vpid,
+  pub p: JsV,
 }
 
 pub trait LogIgnoreBefore {