fix: commit code

This commit is contained in:
mrxiaozhuox committed 2022-01-25 17:51:36 +08:00
1 parent 25e3ee848c
commit b01b3f519f
8 files changed
+67 -47

No files matched your search

+6 -1
View File
@@ -1,6 +1,11 @@
//! Utilities for working with cargo and rust files
use crate::error::{Error, Result};
use std::{env, fs, path::{PathBuf, Path}, process::Command, str};
use std::{
env, fs,
path::{Path, PathBuf},
process::Command,
str,
};
/// How many parent folders are searched for a `Cargo.toml`
const MAX_ANCESTORS: u32 = 10;