Skip to content

Commit

Permalink
Mute warnings from Substrate <-> Substrate runtime module and relay (p…
Browse files Browse the repository at this point in the history
…aritytech#104)

* mute warnings from sub2sub module+relay

* cargo fmt --all
  • Loading branch information
svyatonik authored and serban300 committed Apr 8, 2024
1 parent a764a98 commit 57603c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bridges/modules/substrate/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@
//! || ||
//!```

// TODO: when (if) this module will be resurrected, remove this
#![allow(dead_code)]
// Ensure we're `no_std` when compiling for Wasm.
#![cfg_attr(not(feature = "std"), no_std)]

Expand Down
4 changes: 4 additions & 0 deletions bridges/relays/substrate/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
// You should have received a copy of the GNU General Public License
// along with Parity Bridges Common. If not, see <http://www.gnu.org/licenses/>.

// TODO: when (if) this relay will be resurrected, remove this
#![allow(unused_variables)]
#![allow(dead_code)]

mod bridge;
mod error;
mod params;
Expand Down

0 comments on commit 57603c3

Please sign in to comment.