]> git.proxmox.com Git - cargo.git/commitdiff
Fix example for usage still not published uuid 2.0.0
authorEvgenii Pashkin <eapashkin@gmail.com>
Tue, 11 Sep 2018 07:20:48 +0000 (10:20 +0300)
committerEvgenii Pashkin <eapashkin@gmail.com>
Tue, 11 Sep 2018 07:20:48 +0000 (10:20 +0300)
src/doc/src/reference/specifying-dependencies.md

index b98b079504c617099fef8195748cab2b16f73025..c0081b04b93ae03eb65c0fa9994607872f42440c 100644 (file)
@@ -376,7 +376,7 @@ my-library = { git = 'https://example.com/git/my-library' }
 uuid = "1.0"
 
 [patch.crates-io]
-uuid = { git = 'https://github.com/rust-lang-nursery/uuid', version = '2.0.0' }
+uuid = { git = 'https://github.com/rust-lang-nursery/uuid', branch = '2.0.0' }
 ```
 
 Note that this will actually resolve to two versions of the `uuid` crate. The