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

This commit is contained in:
Igor Shevchenko
2023-08-08 08:13:13 +00:00
committed by GitHub
parent 9dbfdbb4df
commit 8e033e7f88
+2 -2
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