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
{{ message }}
This repository has been archived by the owner on Oct 15, 2022. It is now read-only.
According to the description in the current rust book and the issues tracked by rust-lang/rust#53125, the preferred way of doing nested modules in newer rust versions is the directory/filename combination.
So instead of
where you have a module
foo::bar
(implemented infoo/bar/mod.rs
) and a modulefoo::bar::abc
(implemented infoo/bar/abc.rs
), you would dowhere
foo:bar
is implemented in infoo/bar.rs
.The text was updated successfully, but these errors were encountered: