Is that the use needs to specify file::module_name::…
So to get it to compile, it needed these two lines. Note I changed the filename and the mod filename to poker_lib.
pub mod poker_lib;
use poker_lib::poker_lib::{Card, Game, Player};
(Visited 32 times, 1 visits today)