21 lines
249 B
Rust
21 lines
249 B
Rust
|
//! Rust Challenge
|
||
|
|
||
|
|
||
|
|
||
|
mod project;
|
||
|
|
||
|
|
||
|
|
||
|
/// Print the version of the project.
|
||
|
fn print_version()
|
||
|
{
|
||
|
println!("{} v{}", project::get_name(), project::get_version());
|
||
|
}
|
||
|
|
||
|
|
||
|
/// The usual starting point of your project.
|
||
|
fn main()
|
||
|
{
|
||
|
print_version();
|
||
|
}
|