diff options
author | Marco Ieni <11428655+MarcoIeni@users.noreply.github.com> | 2021-04-15 22:53:21 +0200 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2021-05-31 21:51:18 -0400 |
commit | b3a6a69f9d6eb00f4ce8fa5dfc4f2ac2327e75e1 (patch) | |
tree | f67e8eaac981b4965bafa8e15be178b29768686a /crates | |
parent | 26a29c750ee962100ed5abf97a43feffcf3fe984 (diff) |
ci: check docs for all crates
This also replaces '--all' in Cargo commands with '--workspace'. The
former has apparently been deprecated.
We also fix a couple warnings that this new step detected.
Closes #1848
Diffstat (limited to 'crates')
-rw-r--r-- | crates/ignore/src/default_types.rs | 2 | ||||
-rw-r--r-- | crates/regex/src/matcher.rs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/crates/ignore/src/default_types.rs b/crates/ignore/src/default_types.rs index 52d7d948..4ed94587 100644 --- a/crates/ignore/src/default_types.rs +++ b/crates/ignore/src/default_types.rs @@ -4,7 +4,7 @@ /// types to each invocation of ripgrep with the '--type-add' flag. /// /// If you would like to add or improve this list, please file a PR: -/// https://github.com/BurntSushi/ripgrep +/// <https://github.com/BurntSushi/ripgrep>. /// /// Please try to keep this list sorted lexicographically and wrapped to 79 /// columns (inclusive). diff --git a/crates/regex/src/matcher.rs b/crates/regex/src/matcher.rs index e5f560f2..3511e75b 100644 --- a/crates/regex/src/matcher.rs +++ b/crates/regex/src/matcher.rs @@ -19,7 +19,7 @@ use word::WordMatcher; /// types of optimizations. /// /// The syntax supported is documented as part of the regex crate: -/// https://docs.rs/regex/*/regex/#syntax +/// <https://docs.rs/regex/#syntax>. #[derive(Clone, Debug)] pub struct RegexMatcherBuilder { config: Config, @@ -41,7 +41,7 @@ impl RegexMatcherBuilder { /// pattern. /// /// The syntax supported is documented as part of the regex crate: - /// https://docs.rs/regex/*/regex/#syntax + /// <https://docs.rs/regex/#syntax>. pub fn build(&self, pattern: &str) -> Result<RegexMatcher, Error> { let chir = self.config.hir(pattern)?; let fast_line_regex = chir.fast_line_regex()?; |