Skip to content

Commit

Permalink
style: remove trailing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
plusvic committed Jan 27, 2025
1 parent 43a264c commit b4b289d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/src/commands/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,14 +114,14 @@ fn meta_file_value_parser(
///
/// Returns the namespace and the path. If the namespace is not provided
/// returns [`None`].
///
///
/// In Windows, namespaces with a single character are not allowed as they can
/// be confused with a drive letter.
fn path_with_namespace_parser(
input: &str,
) -> Result<(Option<String>, PathBuf), anyhow::Error> {
if let Some((namespace, path)) = input.split_once(':') {
// In Windows a namespace with a single letter could actually be a
// In Windows a namespace with a single letter could actually be a
// drive letter.
#[cfg(target_os = "windows")]
if namespace.len() == 1 {
Expand Down

0 comments on commit b4b289d

Please sign in to comment.