diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2022-11-10 01:22:19 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-10 01:22:19 -0500 |
commit | 99fc5fc2c85b714c81ec6a7fca2615853e120caa (patch) | |
tree | f87e929adf6922872b6a1de2acfb62820052fc7f /build.rs | |
parent | f5ec9191f270ffb4fc36e34836e931d3ef55a162 (diff) |
refactor: run cargo +nightly fmt with group_imports (#885)
* refactor: add some disabled unstable fmt options
* run cargo +nightly fmt with group_imports
* separate out the cfg-specific imports for clarity
Diffstat (limited to 'build.rs')
-rw-r--r-- | build.rs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,10 +1,11 @@ -use clap_complete::{generate_to, shells::Shell}; use std::{ env, fs, io::Result, path::{Path, PathBuf}, }; +use clap_complete::{generate_to, shells::Shell}; + include!("src/clap.rs"); fn create_dir(dir: &Path) -> Result<()> { |