mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-05-19 09:40:22 -07:00
ignore: permit use of deprecated trim_right
This commit is contained in:
parent
b3c5773266
commit
a9e0477ea8
@ -419,6 +419,8 @@ impl GitignoreBuilder {
|
|||||||
from: Option<PathBuf>,
|
from: Option<PathBuf>,
|
||||||
mut line: &str,
|
mut line: &str,
|
||||||
) -> Result<&mut GitignoreBuilder, Error> {
|
) -> Result<&mut GitignoreBuilder, Error> {
|
||||||
|
#![allow(deprecated)]
|
||||||
|
|
||||||
if line.starts_with("#") {
|
if line.starts_with("#") {
|
||||||
return Ok(self);
|
return Ok(self);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user