From c061ec6881cda22124f46988e0b0b93ed00ab975 Mon Sep 17 00:00:00 2001 From: Rean Fei Date: Fri, 21 Jun 2024 11:00:19 +0800 Subject: [PATCH] Clear code --- src/cli/self_update/windows.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/cli/self_update/windows.rs b/src/cli/self_update/windows.rs index 1a336fd62e..912b5943fb 100644 --- a/src/cli/self_update/windows.rs +++ b/src/cli/self_update/windows.rs @@ -748,8 +748,6 @@ pub(crate) fn delete_rustup_and_cargo_home(process: &Process) -> Result<()> { #[cfg(test)] mod tests { - // use winreg::enums::{RegType, HKEY_CURRENT_USER, KEY_READ, KEY_WRITE}; - // use winreg::{RegKey, RegValue}; use windows_registry::CURRENT_USER; use windows_result::HRESULT; use windows_sys::Win32::Foundation::ERROR_FILE_NOT_FOUND;