Skip to content

Commit

Permalink
Fix some typos (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
striezel committed Jan 12, 2024
1 parent 08e35ee commit 207afca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dotenv/tests/integration/util/testenv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ impl TestEnv {
/// Blank testing environment in a new temporary directory.
///
/// No envfile_contents or pre-existing variables to set. The envfile_name
/// is set to `.env` but wont be written until its contents is set. The
/// is set to `.env` but won't be written until its content is set. The
/// working directory is the created temporary directory.
pub fn init() -> Self {
let tempdir = tempdir().expect("create tempdir");
Expand Down Expand Up @@ -225,7 +225,7 @@ impl TestEnv {
&self.work_dir
}

/// Get a reference to environnement variables that will be set **before**
/// Get a reference to environment variables that will be set **before**
/// the test.
pub fn env_vars(&self) -> &[KeyVal] {
&self.env_vars
Expand Down
2 changes: 1 addition & 1 deletion examples/dev-prod/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ enum AppEnv {

/// A common setup that:
/// - loads from a .env file in dev mode
/// - loads from the envrironment in prod mode
/// - loads from the environment in prod mode
///
/// A few commands to try:
/// 1) `cargo run`
Expand Down

0 comments on commit 207afca

Please sign in to comment.