mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
Fix formatting and clippy issues
This commit is contained in:
parent
49f5ea88fc
commit
28ceb0e93f
3 changed files with 78 additions and 55 deletions
|
@ -96,7 +96,7 @@ pub struct Run {
|
|||
stdin_vals: Vec<&'static str>,
|
||||
}
|
||||
|
||||
impl<'run> Run {
|
||||
impl Run {
|
||||
pub fn new<S>(exe: S) -> Self
|
||||
where
|
||||
S: AsRef<OsStr>,
|
||||
|
@ -189,7 +189,7 @@ impl<'run> Run {
|
|||
where
|
||||
I: IntoIterator<Item = &'static str>,
|
||||
{
|
||||
self.stdin_vals.extend(stdin_vals.into_iter());
|
||||
self.stdin_vals.extend(stdin_vals);
|
||||
self
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue