Use Self instead of repeating the type name.
This commit is contained in:
@@ -24,7 +24,7 @@ where
|
||||
{
|
||||
/// Create a new empty set.
|
||||
pub fn new() -> Self {
|
||||
EntitySet {
|
||||
Self {
|
||||
elems: Vec::new(),
|
||||
len: 0,
|
||||
unused: PhantomData,
|
||||
|
||||
Reference in New Issue
Block a user