Make command struct fields public
They should've been public the entire time, but i forgor
This commit is contained in:
parent
053b614187
commit
30640b393a
2 changed files with 12 additions and 12 deletions
|
|
@ -69,8 +69,8 @@ where
|
|||
}
|
||||
|
||||
pub struct Prefixed<C> {
|
||||
prefix: String,
|
||||
inner: C,
|
||||
pub prefix: String,
|
||||
pub inner: C,
|
||||
}
|
||||
|
||||
impl<C> Prefixed<C> {
|
||||
|
|
@ -122,7 +122,7 @@ where
|
|||
type Future = Fut;
|
||||
}
|
||||
|
||||
pub struct FromHandler<F>(F);
|
||||
pub struct FromHandler<F>(pub F);
|
||||
|
||||
impl<F> FromHandler<F> {
|
||||
pub fn new(f: F) -> Self {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue