]> git.lizzy.rs Git - rust.git/blobdiff - src/libstd/sync/mpsc/select.rs
Fiddle through the module visibilities for tests
[rust.git] / src / libstd / sync / mpsc / select.rs
index 9487c0cf674881e5f29f6cab7a8d3eb4bd5edea1..e34fc5487cf90dd36d374eecec9314988b527e8b 100644 (file)
@@ -158,7 +158,7 @@ pub fn wait(&self) -> usize {
     }
 
     /// Helper method for skipping the preflight checks during testing
-    fn wait2(&self, do_preflight_checks: bool) -> usize {
+    pub(super) fn wait2(&self, do_preflight_checks: bool) -> usize {
         // Note that this is currently an inefficient implementation. We in
         // theory have knowledge about all receivers in the set ahead of time,
         // so this method shouldn't really have to iterate over all of them yet