From d36f399d08ec9feadcf66a8767a547dfe605378b Mon Sep 17 00:00:00 2001 From: mbecker20 Date: Fri, 9 Jun 2023 15:50:37 +0000 Subject: [PATCH] rename core AppState to State --- core/src/state.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/src/state.rs b/core/src/state.rs index 41b03e47e..03915955e 100644 --- a/core/src/state.rs +++ b/core/src/state.rs @@ -1,10 +1,10 @@ use std::sync::Arc; -pub struct AppState {} +pub struct State {} -impl AppState { - pub async fn load() -> anyhow::Result> { - let state = AppState {}; +impl State { + pub async fn load() -> anyhow::Result> { + let state = State {}; Ok(state.into()) }