forked from github-starred/komodo
rename core AppState to State
This commit is contained in:
+4
-4
@@ -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())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user