Sometimes, it can be useful to import functions and structs relatively without having to use something with its absolute path in your project. To achieve this, you can use the module super, like so:
fn x() -> u8 {
5
}
mod example {
use super::x;
fn foo() {
println!(...