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

28 ranged int #38

Draft
wants to merge 10 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
Fixed useless deref
  • Loading branch information
IBims1NicerTobi committed Dec 11, 2024
commit 1d328b3c66ed82a028cf27c32e7f188b30201c14
2 changes: 1 addition & 1 deletion src/to_string.rs
Original file line number Diff line number Diff line change
@@ -85,7 +85,7 @@ impl ConcreteType {
linker_types: &TypVec,
) -> String {
match self {
ConcreteType::Named(name) => linker_types[(*name).id].link_info.get_full_name(),
ConcreteType::Named(name) => linker_types[name.id].link_info.get_full_name(),
ConcreteType::Array(arr_box) => {
let (elem_typ, arr_size) = arr_box.deref();
format!(