Skip to content

Instantly share code, notes, and snippets.

@richo
Created November 12, 2020 05:22
Show Gist options
  • Save richo/672857d2f8608a3593becd7af9cd8c35 to your computer and use it in GitHub Desktop.
Save richo/672857d2f8608a3593becd7af9cd8c35 to your computer and use it in GitHub Desktop.
impl<T: Into<U>, U: DescriptorNameable> DescriptorNameable for T {
fn staging_name(&self) -> String {
self.into().staging_name()
}
fn manifest_name(&self) -> String {
self.into().manifest_name()
}
fn remote_path(&self) -> PathBuf {
self.into().remote_path()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment