mirror of
https://github.com/rust-lang/cargo
synced 2024-10-14 03:32:39 +00:00
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:
commit
36ee8cea22
|
@ -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!"); } "#)
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue