Skip to content

Commit

Permalink
fix(xlang-abi): Trait isn't a type.
Browse files Browse the repository at this point in the history
  • Loading branch information
chorman0773 committed Jan 25, 2024
1 parent 4411c2c commit 996e52a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xlang/xlang_abi/src/collection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use crate::hash::{BuildHasherDefault, XLangHasher};
use crate::ptr::Unique;
use crate::vec::Vec;

/// A [`Trait`] for maps and sets, that allows you to check for whether a particular key is present
/// A trait for maps and sets, that allows you to check for whether a particular key is present
pub trait Searchable<Q: ?Sized> {
/// Searches [`Self`] for the given `key`.
fn contains_key(&self, key: &Q) -> bool;
Expand Down

0 comments on commit 996e52a

Please sign in to comment.