diff options
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -362,7 +362,7 @@ fn generate_blanket_impl( } fn path_is_assoc_type(path: &Path) -> bool { - path.segments.first().unwrap().ident == "Self" + path.segments[0].ident == "Self" } fn match_assoc_type(item: TypeOrPath) -> bool { |