Reexport `Magic`
Writing `network::Magic` is more natural and less annoying than `network::constants::Magic`, so this change reexports it. Closes #1667
This commit is contained in:
parent
277eef486a
commit
76c4c647cf
|
@ -33,3 +33,5 @@ pub mod message_filter;
|
||||||
#[cfg(feature = "std")]
|
#[cfg(feature = "std")]
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "std")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "std")))]
|
||||||
pub mod message_network;
|
pub mod message_network;
|
||||||
|
|
||||||
|
pub use self::constants::Magic;
|
||||||
|
|
Loading…
Reference in New Issue