@@ -514,31 +514,31 @@ pub fn init(opts: &NewOptions, config: &Config) -> CargoResult<NewProjectKind> {
514514 let mut version_control = opts. version_control ;
515515
516516 if version_control == None {
517- let mut num_detected_vsces = 0 ;
517+ let mut num_detected_vcses = 0 ;
518518
519519 if path. join ( ".git" ) . exists ( ) {
520520 version_control = Some ( VersionControl :: Git ) ;
521- num_detected_vsces += 1 ;
521+ num_detected_vcses += 1 ;
522522 }
523523
524524 if path. join ( ".hg" ) . exists ( ) {
525525 version_control = Some ( VersionControl :: Hg ) ;
526- num_detected_vsces += 1 ;
526+ num_detected_vcses += 1 ;
527527 }
528528
529529 if path. join ( ".pijul" ) . exists ( ) {
530530 version_control = Some ( VersionControl :: Pijul ) ;
531- num_detected_vsces += 1 ;
531+ num_detected_vcses += 1 ;
532532 }
533533
534534 if path. join ( ".fossil" ) . exists ( ) {
535535 version_control = Some ( VersionControl :: Fossil ) ;
536- num_detected_vsces += 1 ;
536+ num_detected_vcses += 1 ;
537537 }
538538
539539 // if none exists, maybe create git, like in `cargo new`
540540
541- if num_detected_vsces > 1 {
541+ if num_detected_vcses > 1 {
542542 anyhow:: bail!(
543543 "more than one of .hg, .git, .pijul, .fossil configurations \
544544 found and the ignore file can't be filled in as \
0 commit comments