Skip to content

Coding Style

神楽坂帕琪 edited this page Oct 23, 2023 · 2 revisions

super:: vs crate::

If super:: can resolve, than use super::. Otherwise use crate::.

Ref: https://www.reddit.com/r/rust/comments/15km47h/which_import_syntax_to_use_use_cratemodule_or_use/

Clone this wiki locally