Skip to content

Commit e662820

Browse files
committed
Cargo fmt
1 parent c3145a1 commit e662820

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/hostfxr/library.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,14 @@ impl Hostfxr {
6464
}
6565

6666
/// Returns the path to the dotnet root.
67-
#[must_use] pub fn get_dotnet_root(&self) -> PathBuf {
67+
#[must_use]
68+
pub fn get_dotnet_root(&self) -> PathBuf {
6869
self.get_dotnet_exe().parent().unwrap().to_owned()
6970
}
7071

7172
/// Returns the path to the dotnet executable of the same installation as hostfxr.
72-
#[must_use] pub fn get_dotnet_exe(&self) -> PathBuf {
73+
#[must_use]
74+
pub fn get_dotnet_exe(&self) -> PathBuf {
7375
self.dotnet_exe.to_os_string().into()
7476
}
7577
}

0 commit comments

Comments
 (0)