Skip to content

Commit

Permalink
fix: elide unnecessary lifetimes
Browse files Browse the repository at this point in the history
  • Loading branch information
simbleau committed Dec 2, 2024
1 parent 4999c29 commit 0600b51
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,18 @@ Subheadings to categorize changes are `added, changed, deprecated, removed, fixe

## Unreleased

## 0.3.1

### Fixed

- Elides some unnecessary lifetimes

## 0.3.0

### Changed

- Updated to bevy 0.15

## 0.2.0

### Changed
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ license = "Apache-2.0 OR MIT"
repository = "https://github.com/loopystudios/bevy_key_rotation"
authors = ["Spencer C. Imbleau"]
keywords = ["gamedev"]
version = "0.3.0"
version = "0.3.1"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
4 changes: 2 additions & 2 deletions src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ pub trait StartKeyRotationExt {
fn start_key_rotation_with_keystore(&mut self, keystore: Keystore);
}

impl<'w, 's> StartKeyRotationExt for Commands<'w, 's> {
impl StartKeyRotationExt for Commands<'_, '_> {
fn start_key_rotation(&mut self, username: String, password: String) {
self.queue(StartKeyRotation { username, password })
}
Expand All @@ -84,7 +84,7 @@ pub trait StopKeyRotationExt {
fn stop_key_rotation(&mut self);
}

impl<'w, 's> StopKeyRotationExt for Commands<'w, 's> {
impl StopKeyRotationExt for Commands<'_, '_> {
fn stop_key_rotation(&mut self) {
self.queue(StopKeyRotation);
}
Expand Down

0 comments on commit 0600b51

Please sign in to comment.