summaryrefslogtreecommitdiff
path: root/rand/src/lib.rs
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2019-01-05 19:30:00 -0800
committerDaniel Mueller <deso@posteo.net>2019-01-05 19:30:00 -0800
commitb4516220b95743b485b9bcd8226285255be9c9c4 (patch)
tree389d17e14b012c64f57a0947257d298ebea29789 /rand/src/lib.rs
parent6d07a0c9d9a9b39247a9727dea2d90eba4e1fe9e (diff)
downloadnitrocli-b4516220b95743b485b9bcd8226285255be9c9c4.tar.gz
nitrocli-b4516220b95743b485b9bcd8226285255be9c9c4.tar.bz2
Emit all output to custom stdio channels
This change continues and concludes the effort of using customizable stdio channels for output of data from the program. It does so by replacing the standard println macro with a custom one that outputs the data to the supplied context's stdout object. Because this object is injected from the main function, it will be possible for tests invoking this function to supply custom Write objects that can buffer this data and make it available for verification purposes.
Diffstat (limited to 'rand/src/lib.rs')
0 files changed, 0 insertions, 0 deletions