Skip to content
Snippets Groups Projects
Commit d8b18417 authored by wangjj9219's avatar wangjj9219 Committed by GitHub
Browse files

expose the fields of Dust type to public (#14388)

parent 4652eaee
No related merge requests found
......@@ -109,7 +109,7 @@ pub trait Inspect<AccountId>: Sized {
/// Special dust type which can be type-safely converted into a `Credit`.
#[must_use]
pub struct Dust<A, T: Inspect<A>>(pub(crate) T::Balance);
pub struct Dust<A, T: Inspect<A>>(pub T::Balance);
impl<A, T: Balanced<A>> Dust<A, T> {
/// Convert `Dust` into an instance of `Credit`.
......
......@@ -121,7 +121,7 @@ pub trait Inspect<AccountId>: Sized {
/// Special dust type which can be type-safely converted into a `Credit`.
#[must_use]
pub struct Dust<A, T: Unbalanced<A>>(pub(crate) T::AssetId, pub(crate) T::Balance);
pub struct Dust<A, T: Unbalanced<A>>(pub T::AssetId, pub T::Balance);
impl<A, T: Balanced<A>> Dust<A, T> {
/// Convert `Dust` into an instance of `Credit`.
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment