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

Type name collision fix #601

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
remove warnings
  • Loading branch information
SRetip committed May 29, 2024
commit cefa11a358f181d29ba79efda7ccf9a25ecf8d95
2 changes: 1 addition & 1 deletion typify-impl/src/defaults.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2022 Oxide Computer Company

use std::collections::{BTreeMap, HashSet};
use std::collections::BTreeMap;

use proc_macro2::TokenStream;
use quote::{format_ident, quote};
Expand Down
2 changes: 1 addition & 1 deletion typify-impl/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ impl TypeSpace {
}

Some(replace_type) => {
let mut type_entry = TypeEntry::new_native(
let type_entry = TypeEntry::new_native(
replace_type.replace_type.clone(),
&replace_type.impls.clone(),
);
Expand Down