Skip to content

Commit 8b8f16b

Browse files
committed
Address CI errors
1 parent e6b756f commit 8b8f16b

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

riscv-peripheral/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
99

10+
### Fixed
11+
12+
- Typo in documentation.
13+
1014
## [v0.4.0] - 2025-09-08
1115

1216
### Added

riscv-peripheral/src/aclint.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//! Devices for the Core Local Interruptor (CLINT) and Advanced CLINT (ACLINT) peripherals.
22
//!
3-
//! CLINT pecification: <https://github.com/pulp-platform/clint>
3+
//! CLINT specification: <https://github.com/pulp-platform/clint>
44
//! ACLINT Specification: <https://github.com/riscvarchive/riscv-aclint/blob/main/riscv-aclint.adoc>
55
66
pub mod mswi;

riscv-rt/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
99

1010
### Changed
1111

12+
- Fix clippy warnings in riscv_rt_macros::strip_type_path
1213
- Bump MSRV to 1.68 for latest syn 2.0 release
1314
- Adapted to new `riscv` version.
1415

riscv-rt/macros/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ fn strip_type_path(ty: &Type) -> Option<Type> {
137137
match ty {
138138
Type::Ptr(ty) => {
139139
let mut ty = ty.clone();
140-
ty.elem = Box::new(strip_type_path(&ty.elem)?);
140+
*ty.elem = strip_type_path(&ty.elem)?;
141141
Some(Type::Ptr(ty))
142142
}
143143
Type::Path(ty) => {

0 commit comments

Comments
 (0)