mirror of
https://github.com/rust-lang/cargo
synced 2024-10-12 18:52:29 +00:00
Fix example for creating a git project test.
This commit is contained in:
parent
016fe194a3
commit
8964f3fd5d
|
@ -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