1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

textproc/ripgrep: Fix build with rust 1.71.0

Summary:
Do not abort if documentation is missing.

error: missing documentation for an extern crate
  --> crates/grep/src/lib.rs:17:1
   |
17 | pub extern crate grep_cli as cli;
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |

PR:		272602
Reviewed by:	mikael
Approved by:	portmgr (build fix blanket)
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D41095
This commit is contained in:
Joseph Mingrone 2023-07-19 13:16:07 -03:00
parent 84af41e839
commit a2d8ee6059
No known key found for this signature in database
GPG Key ID: 36A40C83B0D6EF9E

View File

@ -0,0 +1,11 @@
--- crates/grep/src/lib.rs.orig 2023-07-19 16:11:20 UTC
+++ crates/grep/src/lib.rs
@@ -12,7 +12,7 @@ A cookbook and a guide are planned.
A cookbook and a guide are planned.
*/
-#![deny(missing_docs)]
+//#![deny(missing_docs)]
pub extern crate grep_cli as cli;
pub extern crate grep_matcher as matcher;