Shape with holes (#770)

* Shape with holes.

* rustfmt.
This commit is contained in:
Laurent Mazare
2023-09-08 08:38:13 +01:00
committed by GitHub
parent cfcbec9fc7
commit 0e250aee4f
3 changed files with 184 additions and 6 deletions

View File

@ -57,10 +57,13 @@ fn main() -> Result<()> {
#[allow(clippy::redundant_clone)]
out_dir.clone()
}
Ok(build_dir) =>
{
Ok(build_dir) => {
let path = PathBuf::from(build_dir);
path.canonicalize().expect(&format!("Directory doesn't exists: {} (the current directory is {})", &path.display(), std::env::current_dir()?.display()))
path.canonicalize().expect(&format!(
"Directory doesn't exists: {} (the current directory is {})",
&path.display(),
std::env::current_dir()?.display()
))
}
};
set_cuda_include_dir()?;