Re:My Struggles with Rust
by jackcviers3 on Sunday May 07, 2017 @11:05AM
(#14285782)
Each function call is a transformation on the previous argument. Whether or not you assign the results to a variable first before calling the second doesn't change the behavior of the code.
But yes, it does appear that the config library needs an extra wrapper that loads from files and returns configs (in a context) that does the common work for you.
But yes, it does appear that the config library needs an extra wrapper that loads from files and returns configs (in a context) that does the common work for you.