Skip to content

Commit

Permalink
Remove weird comment leader in some examples
Browse files Browse the repository at this point in the history
  • Loading branch information
sirbrillig committed Jul 25, 2024
1 parent 7fa41d9 commit 733be0f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,22 @@
//!
//! ```text
//! $ grepdef parseQuery ./src
//! // ./src/queries.js:function parseQuery {
//! ./src/queries.js:function parseQuery {
//! ```
//!
//! Just like `grep`, you can add the `-n` option to include line numbers.
//!
//! ```text
//! $ grepdef -n parseQuery ./src
//! // ./src/queries.js:17:function parseQuery {
//! ./src/queries.js:17:function parseQuery {
//! ```
//!
//! The search will be faster if you specify what type of file you are searching for using the
//! `--type` option.
//!
//! ```text
//! $ grepdef --type js -n parseQuery ./src
//! // ./src/queries.js:17:function parseQuery {
//! ./src/queries.js:17:function parseQuery {
//! ```
//!
//! To use the crate from other Rust code, use [Searcher].
Expand Down

0 comments on commit 733be0f

Please sign in to comment.