gimli-rs / gimli

A library for reading and writing the DWARF debugging format
https://docs.rs/gimli/
Apache License 2.0
848 stars 108 forks source link

Replace `impl From<Pointer> for u64` with `Pointer::pointer` #670

Closed philipc closed 1 year ago

philipc commented 1 year ago

This trait was never used in a generic context, and it isn't something that should be commonly used since it discards information. Replace it with a method that can document this.

Also add Pointer::direct, which is more likely to be useful.