Skip to content

Commit

Permalink
wrapper: remove unused constant
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Aug 1, 2024
1 parent febd060 commit e81c308
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/wrapper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ enum WrapperMut {

pub trait FromPath: Sized + Copy + Ord {
const IDENT: &'static str;
const DERIVE: &'static str;
const NO_REFS: Self;
fn default_set() -> Vec<Self>;
fn is_not_ref(&self) -> bool;
Expand All @@ -123,7 +122,6 @@ pub trait FromPath: Sized + Copy + Ord {

impl FromPath for Wrapper {
const IDENT: &'static str = "wrapper";
const DERIVE: &'static str = "Wrapper";
const NO_REFS: Self = Self::NoRefs;

fn default_set() -> Vec<Self> { vec![Wrapper::AsRef, Wrapper::Borrow] }
Expand Down Expand Up @@ -650,7 +648,6 @@ impl Wrapper {

impl FromPath for WrapperMut {
const IDENT: &'static str = "wrapper_mut";
const DERIVE: &'static str = "WrapperMut";
const NO_REFS: Self = Self::NoRefs;

fn default_set() -> Vec<Self> { vec![WrapperMut::AsMut, WrapperMut::BorrowMut] }
Expand Down

0 comments on commit e81c308

Please sign in to comment.