|
33 | 33 | //! If your need is bigger than this, you might go check the |
34 | 34 | //! [cc](https://crates.io/crates/cc) crate. |
35 | 35 |
|
| 36 | +#![deny(missing_docs)] |
| 37 | + |
36 | 38 | #[cfg(not(target_os = "windows"))] |
37 | 39 | compile_error!("This crate only supports Windows."); |
38 | 40 |
|
@@ -79,7 +81,7 @@ pub struct SdkInfo { |
79 | 81 | /// |
80 | 82 | /// **IMPORTANT**: If you have multiple versions of Visual Studio |
81 | 83 | /// installed, we return the first one, rather than the newest. This |
82 | | -/// solves the baspic problem for now, but can be easily expanded in |
| 84 | +/// solves the basic problem for now, but can be easily expanded in |
83 | 85 | /// the future. |
84 | 86 | #[derive(Debug)] |
85 | 87 | pub struct ToolchainInfo { |
@@ -250,9 +252,9 @@ const SDK_VERSIONS: [(u8, &str, fn(&Path) -> Option<Version>); 2] = [ |
250 | 252 |
|
251 | 253 | fn find_windows_kit() -> Option<(u8, PathBuf)> { |
252 | 254 | // Information about the Windows 10 and Windows 8 development kits |
253 | | - // is stored in the same place in the registry. We open a key to |
254 | | - // that place, first checking preferentially for a Windows 10 kit, |
255 | | - // then, if that's not found, a Windows 8 kit. |
| 255 | + // is stored in the same place in the registry. We open a key to |
| 256 | + // that place, first checking preferentially for a Windows 10 kit, |
| 257 | + // then, if that's not found, a Windows 8 kit. |
256 | 258 | let mut main_key = RegKey::zeroed(); |
257 | 259 | let err = unsafe { |
258 | 260 | RegOpenKeyExA( |
|
0 commit comments