Skip to content

Commit aa2050c

Browse files
committed
Change the parameter to one of a broader type
1 parent 27a6e6d commit aa2050c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

macros/src/item_impl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ pub fn process(flags: &HashSet<Flag>, input: ItemImpl) -> TokenStream {
4343
}
4444
}
4545

46-
fn fully_bound_trait(path: &Path, items: &Vec<ImplItem>) -> impl ToTokens {
46+
fn fully_bound_trait(path: &Path, items: &[ImplItem]) -> impl ToTokens {
4747
let bindings = items
4848
.iter()
4949
.filter_map(|item| {

0 commit comments

Comments
 (0)