Skip to content

Commit

Permalink
Merge pull request #125 from CosmWasm/allow_from_over_into_lint
Browse files Browse the repository at this point in the history
Allow from_over_into clippy lint
  • Loading branch information
jawoznia committed May 23, 2023
2 parents e6ebaf4 + 09c70cf commit a4836ff
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## \[0.4.1\] - 2023-05-23

- Lint fix

## \[0.4.0\] - 2023-05-16

- Introduced new `entry_points` macro
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sylvia-derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sylvia-derive"
version = "0.4.0"
version = "0.4.1"
authors = ["Bartłomiej Kuras <bart.k@confio.gmbh>"]
edition = "2021"
description = "Framework for generating trait based CosmWasm smart contracts - derives"
Expand Down
1 change: 1 addition & 0 deletions sylvia-derive/src/multitest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -669,6 +669,7 @@ impl<'a> TraitMultitestHelpers<'a> {
#proxy_name { contract_addr, app }
}
}
#[allow(clippy::from_over_into)]
impl Into<#sylvia ::cw_std::Addr> for #proxy_name <'_> {
fn into(self) -> #sylvia ::cw_std::Addr {
self.contract_addr
Expand Down
4 changes: 2 additions & 2 deletions sylvia/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sylvia"
version = "0.4.0"
version = "0.4.1"
authors = ["Bartłomiej Kuras <bart.k@confio.gmbh>"]
edition = "2021"
description = "Framework for generating trait based CosmWasm smart contracts"
Expand All @@ -14,7 +14,7 @@ categories = ["api-bindings", "wasm"]
mt = ["sylvia-derive/mt", "dep:cw-multi-test", "dep:anyhow", "dep:derivative"]

[dependencies]
sylvia-derive = { version = "0.4.0", path = "../sylvia-derive" }
sylvia-derive = { version = "0.4.1", path = "../sylvia-derive" }
cosmwasm-std = { version = "1.2", features = ["staking"] }
cosmwasm-schema = "1.2"
schemars = "0.8"
Expand Down

0 comments on commit a4836ff

Please sign in to comment.