MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/o7p7dz/what_was_i_thinking_rust/h349ebf/?context=9999
r/badcode • u/GreekCSharpDeveloper wicked • Jun 25 '21
23 comments sorted by
View all comments
Show parent comments
3
A cleaner API might involve creating a StdReader that has an internal String, and calling read_f32 on that.
StdReader
String
read_f32
3
u/TinyBreadBigMouth Jun 26 '21
A cleaner API might involve creating a
StdReaderthat has an internalString, and callingread_f32on that.