diff options
Diffstat (limited to 'src/metadata.rs')
-rw-r--r-- | src/metadata.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/metadata.rs b/src/metadata.rs index da708a5..19d4e0f 100644 --- a/src/metadata.rs +++ b/src/metadata.rs @@ -39,7 +39,7 @@ impl EbuildConfig { .unwrap_or_else(|| package.name().to_string()); // package homepage - let homepage = metadata.homepage.as_ref().cloned().unwrap_or( + let homepage = metadata.homepage.as_ref().cloned().unwrap_or_else(|| metadata .repository .as_ref() @@ -55,9 +55,9 @@ impl EbuildConfig { EbuildConfig { inherit: None, - homepage: homepage, + homepage, description: desc, - license: license, + license, restrict: None, slot: None, keywords: None, @@ -66,7 +66,7 @@ impl EbuildConfig { rdepend: None, pdepend: None, depend_is_rdepend: true, - crates: crates, + crates, } } } |