question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Use different icon for `mod.rs` files

See original GitHub issue

In structure view, it’s difficult to spot mod.rs file (unlike, say __init__.py). We could use a different icon for it I think…

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mkaputcommented, Feb 26, 2017

I’d highlight build.rs, but I am not sure about lib.rs/main.rs as this can be too much.

Regarding mod.rs, maybe there is possibility to move it to the top of file list?

0reactions
mkaputcommented, Feb 26, 2017

I think we could roll our own Project View (or how it’s called, I mean something like Android or Rails one) which could move mod.rs to the top

Read more comments on GitHub >

github_iconTop Results From Across the Web

When do you put logic in mod.rs? : r/rust
I'm coming from a JavaScript background where index.js is typically only used to re-export files. Looking at Rust crates, there's typically ...
Read more >
Including Files and Deeply Directories in Rust
Rust doesn't see files as files, but it sees them as modules and files inside folders as sub-modules. Therefore you can't just reference...
Read more >
In Rust, what is the purpose of a mod.rs file?
a file called mod.rs in a folder called something in the same directory. It then uses the contents of either of those files...
Read more >
The difference between mod and use in Rust | panaetius.io
Using mod defines a module which is a collection of Rust items. ... of your crate) into the current namespace in your current...
Read more >
Solid Explorer File Manager - Apps on Google Play
Solid Explorer is a file management app inspired by the old school file commander applications. It will help you: 🗄️ Easily manage files...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found