chiark / gitweb /
wdt: UsualSetup, note about why separate Ctx
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 14 Feb 2021 19:29:28 +0000 (19:29 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 14 Feb 2021 19:29:28 +0000 (19:29 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
wdriver.rs

index 44753ea9a4c6ae4f6153e715f12137f4144a90bd..5cbed8617f19e700cecf96c2d4d84a69bf0e521d 100644 (file)
@@ -1370,6 +1370,8 @@ impl Setup {
   }
 }
 
+// Ideally individual test files' Ctx would simply contain this,
+// but it would need to be borrowed in pieces which is awkward.
 pub struct UsualSetup {
   pub su: Setup,
   pub inst: Instance,