You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-06-28 11:31:32 +02:00
Minor updates based on instruction (#1583)
This contains some minor updates from #1565. --------- Co-authored-by: Marshall Pierce <575695+marshallpierce@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
35442ad424
commit
9563f055e2
@ -42,6 +42,8 @@ struct Package {
|
||||
impl Package {
|
||||
// ANCHOR_END: Package
|
||||
// ANCHOR: as_dependency
|
||||
/// Return a representation of this package as a dependency, for use in
|
||||
/// building other packages.
|
||||
fn as_dependency(&self) -> Dependency {
|
||||
// ANCHOR_END: as_dependency
|
||||
Dependency {
|
||||
|
Reference in New Issue
Block a user