You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thinking about it, the library probably shouldn't be directly outputting data about itself to any strings at all. It provides enough functionality as part of the public API that the caller can get whatever data they want and format it however they want to. The current print statements are only really useful to CLI applications, for a GUI program it would make more sense for it to be able to get whatever information it needs in string form between the getter methods on FundManager, the display_dollars helper method, and the Display trait on Fund. For now I'm going to be relocating these functions out of the library into the binary crate, as they are pretty much just taking up space in the library crate.
In GitLab by @leggettc18 on Oct 7, 2018, 18:33
The text was updated successfully, but these errors were encountered: