File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 20
20
//!
21
21
//! ```text
22
22
//! $ grepdef parseQuery ./src
23
- //! // ./src/queries.js:function parseQuery {
23
+ //! ./src/queries.js:function parseQuery {
24
24
//! ```
25
25
//!
26
26
//! Just like `grep`, you can add the `-n` option to include line numbers.
27
27
//!
28
28
//! ```text
29
29
//! $ grepdef -n parseQuery ./src
30
- //! // ./src/queries.js:17:function parseQuery {
30
+ //! ./src/queries.js:17:function parseQuery {
31
31
//! ```
32
32
//!
33
33
//! The search will be faster if you specify what type of file you are searching for using the
34
34
//! `--type` option.
35
35
//!
36
36
//! ```text
37
37
//! $ grepdef --type js -n parseQuery ./src
38
- //! // ./src/queries.js:17:function parseQuery {
38
+ //! ./src/queries.js:17:function parseQuery {
39
39
//! ```
40
40
//!
41
41
//! To use the crate from other Rust code, use [Searcher].
You can’t perform that action at this time.
0 commit comments