Make command struct fields public

They should've been public the entire time, but i forgor
This commit is contained in:
Joscha 2024-12-29 13:58:30 +01:00
parent 053b614187
commit 30640b393a
2 changed files with 12 additions and 12 deletions

View file

@ -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 {