mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-21 14:46:32 +01:00
Fix typos in examples/diesel-postgres/src/main.rs
(#2159)
This commit is contained in:
parent
9dbfdbb4df
commit
8e033e7f88
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue