Skip to content

Commit a8cbd3e

Browse files
committed
process APIs clean up
wait_*_result_nolog should not be public
1 parent 5aa6298 commit a8cbd3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/process.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ impl WaitFun {
260260
ret
261261
}
262262

263-
pub fn wait_raw_result_nolog(&mut self) -> Result<Vec<u8>> {
263+
fn wait_raw_result_nolog(&mut self) -> Result<Vec<u8>> {
264264
let handle = self.0.pop().unwrap();
265265
let wait_last = handle.wait_with_output();
266266
match wait_last {
@@ -287,7 +287,7 @@ impl WaitFun {
287287
ret
288288
}
289289

290-
pub fn wait_result_nolog(&mut self) -> FunResult {
290+
fn wait_result_nolog(&mut self) -> FunResult {
291291
// wait last process result
292292
let handle = self.0.pop().unwrap();
293293
let wait_last = handle.wait_with_output();

0 commit comments

Comments
 (0)