Skip to content

Commit

Permalink
typo in 'successfully' corrected across all instances
Browse files Browse the repository at this point in the history
  • Loading branch information
mvid committed Mar 16, 2024
1 parent 644e182 commit 6df99d5
Show file tree
Hide file tree
Showing 18 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion book/generating-proofs/advanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ fn main() {
// Print the program's outputs in our script.
println!("a: {}", a);
println!("b: {}", b);
println!("succesfully executed the program!")
println!("successfully executed the program!")
}
```

Expand Down
2 changes: 1 addition & 1 deletion book/getting-started/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ The output should show
Running `target/release/fibonacci-script`
a: 205697230343233228174223751303346572685
b: 332825110087067562321196029789634457848
succesfully generated and verified proof for the program!
successfully generated and verified proof for the program!
```

The program by default is quite small, so proof generation will only take a few seconds locally. After it completes, the proof will be saved in the `proof-with-io.json` file and also be verified for correctness.
Expand Down
2 changes: 1 addition & 1 deletion cli/src/assets/script/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ fn main() {
.save("proof-with-io.json")
.expect("saving proof failed");

println!("succesfully generated and verified proof for the program!")
println!("successfully generated and verified proof for the program!")
}
6 changes: 3 additions & 3 deletions cli/src/commands/build_toolchain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ impl BuildToolchainCmd {
.args(["toolchain", "remove", RUSTUP_TOOLCHAIN_NAME])
.run()
{
Ok(_) => println!("Succesfully removed existing toolchain."),
Ok(_) => println!("Successfully removed existing toolchain."),
Err(_) => println!("No existing toolchain to remove."),
}

Expand Down Expand Up @@ -132,7 +132,7 @@ impl BuildToolchainCmd {
.args(["toolchain", "link", RUSTUP_TOOLCHAIN_NAME])
.arg(&toolchain_dir)
.run()?;
println!("Succesfully linked the toolchain to rustup.");
println!("Successfully linked the toolchain to rustup.");

// Compressing toolchain directory to tar.gz.
let target = get_target();
Expand All @@ -150,7 +150,7 @@ impl BuildToolchainCmd {
".",
])
.run()?;
println!("Succesfully compressed the toolchain to {}.", tar_gz_path);
println!("Successfully compressed the toolchain to {}.", tar_gz_path);

Ok(())
}
Expand Down
8 changes: 4 additions & 4 deletions cli/src/commands/install_toolchain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ impl InstallToolchainCmd {
}
Err(_) => println!("No existing ~/.sp1 directory to remove."),
}
println!("Succesfully cleaned up ~/.sp1 directory.");
println!("Successfully cleaned up ~/.sp1 directory.");
match fs::create_dir_all(&root_dir) {
Ok(_) => println!("Succesfully created ~/.sp1 directory."),
Ok(_) => println!("Successfully created ~/.sp1 directory."),
Err(err) => println!("Failed to create ~/.sp1 directory: {}", err),
};
let target = get_target();
Expand Down Expand Up @@ -92,7 +92,7 @@ impl InstallToolchainCmd {
let mut content = String::new();
stdout.read_to_string(&mut content).unwrap();
if !content.contains("no toolchain installed") {
println!("Succesfully removed existing toolchain.");
println!("Successfully removed existing toolchain.");
}
}
Err(_) => println!("Failed to remove existing toolchain."),
Expand Down Expand Up @@ -122,7 +122,7 @@ impl InstallToolchainCmd {
.args(["toolchain", "link", RUSTUP_TOOLCHAIN_NAME])
.arg(&random_string)
.run()?;
println!("Succesfully linked toolchain to rustup.");
println!("Successfully linked toolchain to rustup.");

// Ensure permissions.
let bin_dir = root_dir.join(&random_string).join("bin");
Expand Down
2 changes: 1 addition & 1 deletion examples/chess/script/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ fn main() {
.save("proof-with-io.json")
.expect("saving proof failed");

println!("succesfully generated and verified proof for the program!")
println!("successfully generated and verified proof for the program!")
}
2 changes: 1 addition & 1 deletion examples/cycle-tracking/script/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ fn main() {
.save("proof-with-pis.json")
.expect("saving proof failed");

println!("succesfully generated and verified proof for the program!")
println!("successfully generated and verified proof for the program!")
}
2 changes: 1 addition & 1 deletion examples/ed25519/script/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ fn main() {
.save("proof-with-pis.json")
.expect("saving proof failed");

println!("succesfully generated and verified proof for the program!")
println!("successfully generated and verified proof for the program!")
}
2 changes: 1 addition & 1 deletion examples/fibonacci-io/script/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ fn main() {
.save("proof-with-pis.json")
.expect("saving proof failed");

println!("succesfully generated and verified proof for the program!")
println!("successfully generated and verified proof for the program!")
}
2 changes: 1 addition & 1 deletion examples/fibonacci/script/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ fn main() {
.save("proof-with-pis.json")
.expect("saving proof failed");

println!("succesfully generated and verified proof for the program!")
println!("successfully generated and verified proof for the program!")
}
2 changes: 1 addition & 1 deletion examples/io/script/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,5 @@ fn main() {
.save("proof-with-pis.json")
.expect("saving proof failed");

println!("succesfully generated and verified proof for the program!")
println!("successfully generated and verified proof for the program!")
}
2 changes: 1 addition & 1 deletion examples/is-prime/script/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ fn main() {
.save("proof-with-is-prime.json")
.expect("saving proof failed");

println!("succesfully generated and verified proof for the program!")
println!("successfully generated and verified proof for the program!")
}
2 changes: 1 addition & 1 deletion examples/json/script/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,5 @@ fn main() {
.save("proof-with-io.json")
.expect("saving proof failed");

println!("succesfully generated and verified proof for the program!")
println!("successfully generated and verified proof for the program!")
}
2 changes: 1 addition & 1 deletion examples/regex/script/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ fn main() {
.save("proof-with-pis.json")
.expect("saving proof failed");

println!("succesfully generated and verified proof for the program!")
println!("successfully generated and verified proof for the program!")
}
2 changes: 1 addition & 1 deletion examples/rsa/script/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ fn main() {
.save("proof-with-pis.json")
.expect("saving proof failed");

println!("succesfully generated and verified proof for the program!")
println!("successfully generated and verified proof for the program!")
}
2 changes: 1 addition & 1 deletion examples/ssz-withdrawals/script/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ fn main() {
.save("proof-with-pis.json")
.expect("saving proof failed");

println!("succesfully generated and verified proof for the program!")
println!("successfully generated and verified proof for the program!")
}
2 changes: 1 addition & 1 deletion examples/tendermint-benchmark/script/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ fn main() {
.save("proof-with-pis.json")
.expect("saving proof failed");

println!("succesfully generated and verified proof for the program!")
println!("successfully generated and verified proof for the program!")
}
2 changes: 1 addition & 1 deletion examples/tendermint/script/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,5 @@ async fn main() {
.save("proof-with-pis.json")
.expect("saving proof failed");

println!("succesfully generated and verified proof for the program!")
println!("successfully generated and verified proof for the program!")
}

0 comments on commit 6df99d5

Please sign in to comment.