mirror of
https://github.com/fluencelabs/interface-types
synced 2024-12-04 15:20:20 +00:00
specify anonumous lifetime
This commit is contained in:
parent
bdd285810e
commit
4e999356d3
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user