Skip to content

Commit

Permalink
style: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
goweiwen committed Jul 12, 2023
1 parent 89c63a9 commit f62a6fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion allium-launcher/src/entry/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ impl Entry {
Ok(Some(Entry::Game(Game::new(path))))
}

pub fn path<'a>(&'a self) -> &'a Path {
pub fn path(&self) -> &Path {
match self {
Entry::Game(game) => &game.path,
Entry::Directory(directory) => &directory.path,
Expand Down

0 comments on commit f62a6fa

Please sign in to comment.