Use associated_type_bounds where applicable - closes #61738
This commit is contained in:
parent
d4abb08be6
commit
3a6a29b4ec
25 changed files with 169 additions and 124 deletions
|
|
@ -50,8 +50,8 @@ impl Command {
|
|||
}
|
||||
|
||||
pub fn args<I>(&mut self, args: I) -> &mut Command
|
||||
where I: IntoIterator,
|
||||
I::Item: AsRef<OsStr>,
|
||||
where
|
||||
I: IntoIterator<Item: AsRef<OsStr>>,
|
||||
{
|
||||
for arg in args {
|
||||
self._arg(arg.as_ref());
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@
|
|||
#![feature(nll)]
|
||||
#![feature(trusted_len)]
|
||||
#![feature(mem_take)]
|
||||
#![feature(associated_type_bounds)]
|
||||
|
||||
#![recursion_limit="256"]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue