Skip to content

Commit 2d09c9b

Browse files
committed
Add missing anonymous lifetime
1 parent b4e9ba5 commit 2d09c9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ pub fn bytes_in_context<'gcc, 'tcx>(cx: &CodegenCx<'gcc, 'tcx>, bytes: &[u8]) ->
4444
context.new_array_constructor(None, typ, &elements)
4545
}
4646

47-
pub fn type_is_pointer(typ: Type) -> bool {
47+
pub fn type_is_pointer(typ: Type<'_>) -> bool {
4848
typ.get_pointee().is_some()
4949
}
5050

0 commit comments

Comments
 (0)