Move module definitions after imports
The style guide says: "Put imports before module declarations." See https://doc.rust-lang.org/style-guide/items.html Cargo also does this automatically.
This commit is contained in:
parent
97d79f5747
commit
4b11b4ce62
3 changed files with 9 additions and 9 deletions
|
|
@ -1,9 +1,9 @@
|
|||
mod migrate;
|
||||
|
||||
use clap::Parser;
|
||||
|
||||
use crate::Environment;
|
||||
|
||||
mod migrate;
|
||||
|
||||
#[derive(Debug, Parser)]
|
||||
pub enum Command {
|
||||
Migrate(migrate::Command),
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
mod commands;
|
||||
|
||||
use std::path::PathBuf;
|
||||
|
||||
use clap::Parser;
|
||||
|
||||
use crate::commands::Command;
|
||||
|
||||
mod commands;
|
||||
|
||||
/// GedächtNAS - external storage for your brain.
|
||||
#[derive(Debug, Parser)]
|
||||
#[command(version)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue