# Merge pull request \#21425 from mlugg/pointer-arith-inplace-res-ty · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/7caa3d9da71c38665340247a1c2bf9bedb8db925)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 7caa3d9da71c38665340247a1c2bf9bedb8db925

Requested commit: 7caa3d9da71c38665340247a1c2bf9bedb8db925

Commit: 7caa3d9da71c38665340247a1c2bf9bedb8db925

Tree: dcb7637f26db5363d0bdc3c60fd05660f8a371fd

Author: Matthew Lugg

Committer: GitHub

## Message

```
Merge pull request #21425 from mlugg/pointer-arith-inplace-res-ty

compiler: provide correct result types to `+=` and `-=`
```

## Parents

- [f3445f8f6935b4532aab3f339f5d86319d2dca72](https://git.cafe/gitcafe/zig/commit/f3445f8f6935b4532aab3f339f5d86319d2dca72?format=markdown)

- [7f60d2e4658ad78839ce0fce63a95dbcb893a256](https://git.cafe/gitcafe/zig/commit/7f60d2e4658ad78839ce0fce63a95dbcb893a256?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/7caa3d9da71c38665340247a1c2bf9bedb8db925?format=markdown)
