Merge branch 'rebuild-platform' of github.com:roc-lang/roc into rebuild-platform

This commit is contained in:
Luke Boswell 2024-08-15 17:09:26 +10:00
commit 4863234c68
No known key found for this signature in database
GPG key ID: F6DB3C9DB47377B0
3 changed files with 78 additions and 55 deletions

View file

@ -101,7 +101,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>,
@ -194,7 +194,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
}