Skip to content

Commit

Permalink
Slight tweaks.
Browse files Browse the repository at this point in the history
  • Loading branch information
adetaylor committed Feb 26, 2025
1 parent 74651f1 commit e2a2073
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion engine/src/conversion/parse/parse_foreign_mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ impl<'a> ParseForeignMod<'a> {
}
}

/// Record information from impl blocks encountered in bindgenq
/// Record information from impl blocks encountered in bindgen
/// output.
pub(crate) fn convert_impl_items(&mut self, imp: ItemImpl) {
let ty_id = match *imp.self_ty {
Expand Down
1 change: 0 additions & 1 deletion engine/src/known_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,6 @@ impl TypeDatabase {
}

/// Whether this is the substitute type we made for some known type.
/// This is O(n) so not ideal.
pub(crate) fn is_known_subtitute_type(&self, ty: &QualifiedName) -> bool {
if ty.get_namespace().is_empty() {
self.all_names()
Expand Down

0 comments on commit e2a2073

Please sign in to comment.