Skip to content

Commit 4de14bd

Browse files
committed
Tweak docs
1 parent 984a4f3 commit 4de14bd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/currentprocess.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,11 @@ use cwdsource::*;
3232
use filesource::*;
3333
use varsource::*;
3434

35-
/// An abstraction for the current process
35+
/// An abstraction for the current process.
36+
///
37+
/// This acts as a clonable proxy to the global state provided by some key OS
38+
/// interfaces - it is a zero cost abstraction. For the test variant it manages
39+
/// a mutex and takes out locks to ensure consistency.
3640
///
3741
/// This provides replacements env::arg*, env::var*, and the standard files
3842
/// io::std* with traits that are customisable for tests. As a result any macros

0 commit comments

Comments
 (0)