Skip to content

Commit e162a63

Browse files
committed
docs: reword documentation entrypoints
1 parent b619d6b commit e162a63

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

crates/git-filter-tree/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
//! It is the plumbing library behind the `git filter-tree` command and the
1010
//! [`git-rewrite`](https://docs.rs/git-rewrite) porcelain.
1111
//!
12-
//! # Filter by glob pattern
12+
//! # Filter by Pattern
1313
//!
1414
//! ```no_run
1515
//! use git_filter_tree::FilterTree as _;
@@ -26,7 +26,7 @@
2626
//! A trailing `/` is expanded to `dir/**`, so `"src/"` keeps all files under
2727
//! `src/`. Multiple patterns are OR-ed together.
2828
//!
29-
//! # Filter by gitattributes
29+
//! # Filter by Attributes
3030
//!
3131
//! ```no_run
3232
//! use git_filter_tree::FilterTree as _;

crates/git-rewrite/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//! plumbing library in a user-friendly `git`-style CLI. It operates on the
55
//! working tree's index so results are immediately staged and ready to commit.
66
//!
7-
//! # CLI usage
7+
//! # CLI
88
//!
99
//! ```text
1010
//! git rewrite tree [--only <PATTERN>]... [<TREEISH>]
@@ -25,7 +25,7 @@
2525
//! By default the working tree must be clean. Pass `--allow-dirty` to skip
2626
//! that check.
2727
//!
28-
//! # Library usage
28+
//! # Library
2929
//!
3030
//! [`exe::tree`] is the programmatic entry point. It opens a repository from
3131
//! the environment, filters the given tree-ish by glob patterns, and rewrites

0 commit comments

Comments
 (0)