-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added overloaded Add and Sub traits for pointer arithmetic
Implemented ptr arithmetic for *T and *mut T. Tests passing
- Loading branch information
Showing
1 changed file
with
96 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
294999c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from thestinger
at https://github.com/MarkJr94/rust/commit/294999c3508ef4cbc2d221f531a6255c82fb95d3
294999c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging MarkJr94/rust/ptr_arithmetic = 294999c into auto
294999c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MarkJr94/rust/ptr_arithmetic = 294999c merged ok, testing candidate = 41bb3743
294999c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No active merge of candidate 294999c found, likely manual push to master
294999c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging MarkJr94/rust/ptr_arithmetic = 294999c into auto
294999c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MarkJr94/rust/ptr_arithmetic = 294999c merged ok, testing candidate = 90db862
294999c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all tests pass:
success: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/343
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/345
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt/builds/348
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt-vg/builds/341
success: http://buildbot.rust-lang.org/builders/auto-mac-all-opt/builds/345
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/364
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt/builds/367
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/364
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt/builds/367
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt-vg/builds/370
success: http://buildbot.rust-lang.org/builders/auto-linux-all-opt/builds/363
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/347
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt/builds/363
success: http://buildbot.rust-lang.org/builders/auto-bsd-64-opt/builds/142
294999c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fast-forwarding master to auto = 90db862