Skip to content

Commit f5737b5

Browse files
committed
Fix typos
1 parent 55e68d2 commit f5737b5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/init.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ pub fn init() -> Result<()> {
6969
.stdout(Stdio::null())
7070
.status()?;
7171
if !status.success() {
72-
bail!("Failed to initilize a new Cargo workspace member.\nPlease initialize Rustlings in a different directory");
72+
bail!("Failed to initialize a new Cargo workspace member.\nPlease initialize Rustlings in a different directory");
7373
}
7474

7575
stdout.write_all(b"The directory `rustlings` has been added to `workspace.members` in the Cargo.toml file of this Cargo workspace.\n")?;

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ fn main() -> Result<()> {
106106
write!(stdout, "{welcome_message}\n\nPress ENTER to continue ")?;
107107
press_enter_prompt(&mut stdout)?;
108108
clear_terminal(&mut stdout)?;
109-
// Flush to be able to show errors occuring before printing a newline to stdout.
109+
// Flush to be able to show errors occurring before printing a newline to stdout.
110110
stdout.flush()?;
111111
}
112112
StateFileStatus::Read => (),

0 commit comments

Comments
 (0)