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
The ok() documentation in the read_line example is not just inaccurate, it's misleading and wrong. .ok() does not abort the program, it returns an option. Maybe it needs to have an option section before to explain that type.
the random number code uses % to make random numbers. This is a bad idea and generally guides are something people copy out of, so I would propose not bringing an antipattern into the mix.
ok()documentation in the read_line example is not just inaccurate, it's misleading and wrong..ok()does not abort the program, it returns an option. Maybe it needs to have an option section before to explain that type.%to make random numbers. This is a bad idea and generally guides are something people copy out of, so I would propose not bringing an antipattern into the mix.