Skip to content

Commit 1b93090

Browse files
authored
Merge pull request rust-lang#907 from Adamekka/master
fix typos
2 parents c93d29b + 0174d01 commit 1b93090

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

examples/diff.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ struct Args {
9696
/// output condensed summary of header info
9797
flag_summary: bool,
9898
#[structopt(name = "find-renames", short = "M", long)]
99-
/// set threshold for findind renames (default 50)
99+
/// set threshold for finding renames (default 50)
100100
flag_find_renames: Option<u16>,
101101
#[structopt(name = "find-copies", short = "C", long)]
102102
/// set threshold for finding copies (default 50)
@@ -120,7 +120,7 @@ struct Args {
120120
/// show given source prefix instead of 'a/'
121121
flag_src_prefix: Option<String>,
122122
#[structopt(name = "dst-prefix", long)]
123-
/// show given destinction prefix instead of 'b/'
123+
/// show given destination prefix instead of 'b/'
124124
flag_dst_prefix: Option<String>,
125125
#[structopt(name = "path", long = "git-dir")]
126126
/// path to git repository to use

examples/pull.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ fn normal_merge(
120120
let mut idx = repo.merge_trees(&ancestor, &local_tree, &remote_tree, None)?;
121121

122122
if idx.has_conflicts() {
123-
println!("Merge conficts detected...");
123+
println!("Merge conflicts detected...");
124124
repo.checkout_index(Some(&mut idx), None)?;
125125
return Ok(());
126126
}
@@ -152,7 +152,7 @@ fn do_merge<'a>(
152152
// 1. do a merge analysis
153153
let analysis = repo.merge_analysis(&[&fetch_commit])?;
154154

155-
// 2. Do the appopriate merge
155+
// 2. Do the appropriate merge
156156
if analysis.0.is_fast_forward() {
157157
println!("Doing a fast forward");
158158
// do a fast forward

0 commit comments

Comments
 (0)