specify anonumous lifetime

This commit is contained in:
vms 2021-03-15 13:22:36 +03:00
parent bdd285810e
commit 4e999356d3

View File

@ -140,7 +140,7 @@ pub struct Interfaces<'input> {
pub implementations: Vec<Implementation>,
}
impl Interfaces {
impl Interfaces<'_> {
pub fn from_version(version: semver::Version) -> Self {
Self {
version,