Skip to content

Commit 8238b91

Browse files
committed
all: fix some typos
Signed-off-by: cuishuang <[email protected]>
1 parent 081bf75 commit 8238b91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/builder.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1064,7 +1064,7 @@ impl<'a, 'gcc, 'tcx> BuilderMethods<'a, 'tcx> for Builder<'a, 'gcc, 'tcx> {
10641064
let val_type = value.get_type();
10651065
match (type_is_pointer(val_type), type_is_pointer(dest_ty)) {
10661066
(false, true) => {
1067-
// NOTE: Projecting a field of a pointer type will attemp a cast from a signed char to
1067+
// NOTE: Projecting a field of a pointer type will attempt a cast from a signed char to
10681068
// a pointer, which is not supported by gccjit.
10691069
return self.cx.context.new_cast(None, self.inttoptr(value, val_type.make_pointer()), dest_ty);
10701070
},

0 commit comments

Comments
 (0)