diff options
| author | cuishuang <imcusg@gmail.com> | 2022-03-03 19:47:23 +0800 |
|---|---|---|
| committer | cuishuang <imcusg@gmail.com> | 2022-03-03 19:47:23 +0800 |
| commit | 00fffdddd22cdd796cf4261cdbbf830bee7e4f7b (patch) | |
| tree | 62760ec1b4d7fdf576a82186ad159c7378a7dd1c /compiler/rustc_codegen_gcc/src | |
| parent | 2f8d1a835b4e7feaf625f74d0d5cb9b84dbc845a (diff) | |
| download | rust-00fffdddd22cdd796cf4261cdbbf830bee7e4f7b.tar.gz rust-00fffdddd22cdd796cf4261cdbbf830bee7e4f7b.zip | |
all: fix some typos
Signed-off-by: cuishuang <imcusg@gmail.com>
Diffstat (limited to 'compiler/rustc_codegen_gcc/src')
| -rw-r--r-- | compiler/rustc_codegen_gcc/src/builder.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_gcc/src/builder.rs b/compiler/rustc_codegen_gcc/src/builder.rs index 974e59b65ec..be3f6a12706 100644 --- a/compiler/rustc_codegen_gcc/src/builder.rs +++ b/compiler/rustc_codegen_gcc/src/builder.rs @@ -1064,7 +1064,7 @@ impl<'a, 'gcc, 'tcx> BuilderMethods<'a, 'tcx> for Builder<'a, 'gcc, 'tcx> { let val_type = value.get_type(); match (type_is_pointer(val_type), type_is_pointer(dest_ty)) { (false, true) => { - // NOTE: Projecting a field of a pointer type will attemp a cast from a signed char to + // NOTE: Projecting a field of a pointer type will attempt a cast from a signed char to // a pointer, which is not supported by gccjit. return self.cx.context.new_cast(None, self.inttoptr(value, val_type.make_pointer()), dest_ty); }, |
