mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-26 23:04:26 +01:00
Merge #276
276: Fix the fmt of the auto-generated file r=Kerollmops a=irevoire The file generated by the `build.rs` file of the benchmark was badly formatted and that was causing an issue with the git pre-commit hook I wrote [earlier](https://github.com/meilisearch/milli/blob/main/script/pre-commit) Co-authored-by: Tamo <tamo@meilisearch.com>
This commit is contained in:
commit
885f243afc
@ -22,7 +22,7 @@ fn main() -> anyhow::Result<()> {
|
|||||||
|
|
||||||
let benches_dir = PathBuf::from(env::var("CARGO_MANIFEST_DIR")?).join("benches");
|
let benches_dir = PathBuf::from(env::var("CARGO_MANIFEST_DIR")?).join("benches");
|
||||||
let mut manifest_paths_file = File::create(benches_dir.join("datasets_paths.rs"))?;
|
let mut manifest_paths_file = File::create(benches_dir.join("datasets_paths.rs"))?;
|
||||||
writeln!(
|
write!(
|
||||||
manifest_paths_file,
|
manifest_paths_file,
|
||||||
r#"//! This file is generated by the build script.
|
r#"//! This file is generated by the build script.
|
||||||
//! Do not modify by hand, use the build.rs file.
|
//! Do not modify by hand, use the build.rs file.
|
||||||
|
Loading…
Reference in New Issue
Block a user