//! Safe archetype equality.
//!
//! This is only used in testing. The main difference between this and what is used in the `World`
//! `PartialEq` implementation is the check on identifier equality. Given that archetypes are
//! likely accessed through `Archetypes<R>` anyway, most equality checks won't need the extra
//! identifier check.
use crate::;
use cmp;