27 |
#[allow(clippy::disallowed_methods)]
|
28 |
pub fn strip_prefix<'a>(path: &'a Path, base: &Path) -> Result<&'a Path> {
|
87 |
#[allow(clippy::disallowed_method)]
|
88 |
let client_id = match env::var("REDDIT_CLIENT_ID") {
|
93 |
#[allow(clippy::disallowed_method)]
|
94 |
let client_secret = match env::var("REDDIT_CLIENT_SECRET") {
|
112 |
#[allow(clippy::disallowed_methods)]
|
113 |
let mut cmd = Command::new(full_path);
|
160 |
// `output`, so we allow `Command::output` here.
|
161 |
#[allow(clippy::disallowed_methods)]
|
162 |
let output = self
|
196 |
// `status`, so we allow `Command::status` here.
|
197 |
#[allow(clippy::disallowed_methods)]
|
198 |
let status = self.status().with_context(|| message.clone())?;
|
216 |
// `spawn`, so we allow `Command::spawn` here.
|
217 |
#[allow(clippy::disallowed_methods)]
|
218 |
{
|
53 |
{
|
54 |
#[allow(clippy::disallowed_methods)]
|
55 |
let status = command.status()?;
|