1
0
Fork 0
mirror of https://github.com/tokio-rs/axum.git synced 2025-03-28 17:27:23 +01:00

Fix typos in examples/diesel-postgres/src/main.rs ()

This commit is contained in:
Igor Shevchenko 2023-08-08 03:13:13 -05:00 committed by GitHub
parent 9dbfdbb4df
commit 8e033e7f88
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,8 +22,8 @@ use diesel_migrations::{embed_migrations, EmbeddedMigrations, MigrationHarness};
use std::net::SocketAddr;
use tracing_subscriber::{layer::SubscriberExt, util::SubscriberInitExt};
// this embeddes the migrations into the application binary
// the migration path is releative to the `CARGO_MANIFEST_DIR`
// this embeds the migrations into the application binary
// the migration path is relative to the `CARGO_MANIFEST_DIR`
pub const MIGRATIONS: EmbeddedMigrations = embed_migrations!("migrations/");
// normally part of your generated schema.rs file