matejcik @matejcik@octodon.social
Follow

so i found the first thing that is stupid about Rust: there doesn't seem to be a concept of "local code"

i already dislike how mod namespaces are super isolated and you need to bring your 'use's into the innermost scope, so possibly several times per file, but oh well.

but, when I want a bunch of binaries in a project, each must specify "extern crate myproject" and "use myproject::foo" instead of just "use foo", well, that's simply dumb for no good reason.

or is there a way out?

· Web · 0 · 0