rust-osdev / x86_64

Library to program x86_64 hardware.
https://docs.rs/x86_64
Apache License 2.0
797 stars 132 forks source link

docs: add aliases for `in{,b,w,l}` and `out{,b,w,l}` #474

Closed mkroening closed 7 months ago

mkroening commented 7 months ago

With this PR you can find PortRead::read_from_port and PortWrite::write_to_port via in{,b,w,l} and out{,b,w,l} respectively.

mkroening commented 7 months ago

Shouldn't we rather add the aliases to Port::read and Port::write though since those are the methods users are most likely to use?

Good point! I changed it. 👍