Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump hashbrown from 0.15.0 to 0.15.2 in the cargo group across 1 directory #47

Merged
merged 2 commits into from
Dec 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "svd2pac"
version = "0.3.0"
version = "0.3.1"
edition = "2021"
rust-version = "1.74"
categories = ["command-line-utilities", "development-tools::ffi"]
Expand Down
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ pub struct Args {
/// let args = ["", "./test_svd/simple.xml", "./generated_code"];
/// main_parse_arguments(args);
/// ```

pub fn main_parse_arguments<I, T>(args: I)
where
I: IntoIterator<Item = T>,
Expand Down
2 changes: 1 addition & 1 deletion src/rust_gen/xml2ir.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ enum PeripheralClusterE<'a> {
Cluster(&'a mut Cluster),
}

impl<'a> PeripheralClusterE<'a> {
impl PeripheralClusterE<'_> {
pub fn get_mut_registers(&mut self) -> &mut LinkedHashMap<String, Rc<RefCell<Register>>> {
match self {
PeripheralClusterE::Peripheral(p) => &mut p.registers,
Expand Down
4 changes: 2 additions & 2 deletions src/rust_gen/xml2ir/svd2temp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ pub(super) struct ClusterAbs<'a> {
trait AbsoluteAddress {
fn abs_address(&self) -> u64;
}
impl<'a> AbsoluteAddress for RegisterAbs<'a> {
impl AbsoluteAddress for RegisterAbs<'_> {
fn abs_address(&self) -> u64 {
self.base_addr + self.register.address_offset as u64
}
}
impl<'a> AbsoluteAddress for ClusterAbs<'a> {
impl AbsoluteAddress for ClusterAbs<'_> {
fn abs_address(&self) -> u64 {
self.base_addr + self.cluster.address_offset as u64
}
Expand Down
Loading