Skip to content

Commit

Permalink
Fix typos in examples/diesel-postgres/src/main.rs (#2159)
Browse files Browse the repository at this point in the history
  • Loading branch information
bnzone authored Aug 8, 2023
1 parent 9dbfdbb commit 8e033e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/diesel-postgres/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8e033e7

Please sign in to comment.