Skip to content

Commit

Permalink
fix: minor issues
Browse files Browse the repository at this point in the history
  • Loading branch information
zzau13 committed Jul 29, 2023
1 parent f7db8f8 commit 879f25a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
components: fmt
components: rustfmt
toolchain: nightly
override: true
- uses: actions-rs/cargo@v1
Expand Down
4 changes: 2 additions & 2 deletions yarte_helpers/src/at_helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pub mod json {

impl<'a, T> Clone for Json<'a, T> {
fn clone(&self) -> Self {
Json(self.0)
*self
}
}

Expand All @@ -36,7 +36,7 @@ pub mod json {

impl<'a, T> Clone for JsonPretty<'a, T> {
fn clone(&self) -> Self {
JsonPretty(self.0)
*self
}
}

Expand Down

0 comments on commit 879f25a

Please sign in to comment.