This commit is contained in:
Nathan Sobo 2023-07-27 13:00:28 -06:00
parent 70c9959ebc
commit 2ef19e48bc
3 changed files with 80 additions and 79 deletions

View file

@ -14,10 +14,10 @@ fn main() {
}
#[derive(Clone, Default)]
struct Playground(playground_ui::Playground);
struct Playground(playground_ui::Playground<Self>);
impl Deref for Playground {
type Target = playground_ui::Playground;
type Target = playground_ui::Playground<Self>;
fn deref(&self) -> &Self::Target {
&self.0