rename core AppState to State

This commit is contained in:
mbecker20
2023-06-09 15:50:37 +00:00
parent c8a24dbcbc
commit d36f399d08
+4 -4
View File
@@ -1,10 +1,10 @@
use std::sync::Arc;
pub struct AppState {}
pub struct State {}
impl AppState {
pub async fn load() -> anyhow::Result<Arc<AppState>> {
let state = AppState {};
impl State {
pub async fn load() -> anyhow::Result<Arc<State>> {
let state = State {};
Ok(state.into())
}