Auto merge of #12632 - ehuss:fix-git-test-example, r=epage

Fix example for creating a git project test.

There was a small mistake in the example for creating a git project for testing.
This commit is contained in:
bors 2023-09-07 05:27:25 +00:00
commit 36ee8cea22

View file

@ -10,7 +10,7 @@ Example:
```
let git_project = git::new("dep1", |project| {
project
.file("Cargo.toml", &basic_manifest("dep1"))
.file("Cargo.toml", &basic_manifest("dep1", "1.0.0"))
.file("src/lib.rs", r#"pub fn f() { println!("hi!"); } "#)
});