fix deprecated usage of panic (#8134)

This commit is contained in:
Guillaume Thiolliere
2021-02-16 19:02:53 +01:00
committed by GitHub
parent ed9c08dd01
commit f49aae65a8
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -18,7 +18,7 @@
//! Hashing functions.
//!
//! This module is gated by `full-crypto` feature. If you intend to use any of the functions
//! defined here within your runtime, you should most likely rather use [sp_io::hashing] instead,
//! defined here within your runtime, you should most likely rather use `sp_io::hashing` instead,
//! unless you know what you're doing. Using `sp_io` will be more performant, since instead of
//! computing the hash in WASM it delegates that computation to the host client.