summaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-01-03 14:59:54 -0800
committerFuwn <[email protected]>2022-01-03 14:59:54 -0800
commit6870b62a39d387759c57a6d812fd5a8127e0e20a (patch)
treeb3fb3b66a6c252aadcdab1297b6643e851f983f2 /crates
parentfix(windows-kernel-build): harsh clippy stuff (diff)
downloaddriver-6870b62a39d387759c57a6d812fd5a8127e0e20a.tar.xz
driver-6870b62a39d387759c57a6d812fd5a8127e0e20a.zip
chore(windows-kernel-build): punctuation
Diffstat (limited to 'crates')
-rw-r--r--crates/windows-kernel-build/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/windows-kernel-build/src/lib.rs b/crates/windows-kernel-build/src/lib.rs
index 29ca151..968df4a 100644
--- a/crates/windows-kernel-build/src/lib.rs
+++ b/crates/windows-kernel-build/src/lib.rs
@@ -44,7 +44,7 @@ pub fn get_windows_kits_dir() -> Result<PathBuf, Error> {
/// # Errors
/// if a directory cannot be found.
pub fn get_km_dir(dir_type: &DirectoryType) -> Result<PathBuf, Error> {
- // We first append lib to the path and read the directory..
+ // We first append lib to the path and read the directory.
let dir = get_windows_kits_dir()?
.join(match dir_type {
DirectoryType::Include => "Include",
@@ -67,7 +67,7 @@ pub fn get_km_dir(dir_type: &DirectoryType) -> Result<PathBuf, Error> {
.max()
.ok_or(Error::DirectoryNotFound)?;
- // Finally append km to the path to get the path to the kernel mode libraries.
+ // Finally, append km to the path to get the path to the kernel mode libraries.
Ok(dir.join("km"))
}