Skip to content

Commit df58aa1

Browse files
authored
fix(XhciLocalMemory): forgot to expose the members (#121)
* fix(XhciLocalMemory): forgot to expose the members * chore: add a changelog
1 parent 83cd8d1 commit df58aa1

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Changelog
22

33
## Unreleased - ReleaseDate
4+
### Fixed
5+
- The members of `XhciLocalMemory` are now public.
46

57
## 0.8.0 - 2021-05-12
68
### Changed

src/extended_capabilities/xhci_local_memory.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ pub struct XhciLocalMemory<M>
1313
where
1414
M: Mapper + Clone,
1515
{
16-
header: Single<Header, M>,
17-
memory: Array<u8, M>,
16+
/// The header of this Capability.
17+
pub header: Single<Header, M>,
18+
/// The Local Memory.
19+
pub memory: Array<u8, M>,
1820
}
1921
impl<M> XhciLocalMemory<M>
2022
where

0 commit comments

Comments
 (0)