Skip to content

Instantly share code, notes, and snippets.

@tjmaynes
Created October 12, 2021 18:07
Show Gist options
  • Save tjmaynes/225627c4fc37a29b23193adec6e7e203 to your computer and use it in GitHub Desktop.
Save tjmaynes/225627c4fc37a29b23193adec6e7e203 to your computer and use it in GitHub Desktop.
...
let app_state = web::Data::new(AppState {
db_conn: db_conn
});
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment