Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/azure_auth/entity/comment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ impl ActixAdminModelFilterTrait<Entity> for Entity {}
impl Display for Model {
fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
match &*self {
_ => write!(formatter, "{} {}", &self.insert_date, &self.user),
_ => write!(formatter, "{} {}", self.insert_date, self.user),
}
}
}
2 changes: 1 addition & 1 deletion examples/azure_auth/entity/post.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ pub struct Model {
impl Display for Model {
fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
match &*self {
_ => write!(formatter, "{} {}", &self.title, &self.insert_date),
_ => write!(formatter, "{} {}", self.title, self.insert_date),
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion examples/basic/entity/comment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ impl ActixAdminModelValidationTrait<ActiveModel> for Entity {
impl Display for Model {
fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
match &*self {
_ => write!(formatter, "{} {}", &self.insert_date, &self.user),
_ => write!(formatter, "{} {}", self.insert_date, self.user),
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion examples/basic/entity/user.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ impl ActixAdminModelFilterTrait<Entity> for Entity {}
impl Display for Model {
fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
match &*self {
_ => write!(formatter, "{}", &self.name),
_ => write!(formatter, "{}", self.name),
}
}
}
2 changes: 1 addition & 1 deletion tests/test_setup/comment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ impl ActixAdminModelFilterTrait<Entity> for Entity {
impl Display for Model {
fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
match &*self {
_ => write!(formatter, "{} {}", &self.insert_date, &self.user),
_ => write!(formatter, "{} {}", self.insert_date, self.user),
}
}
}
2 changes: 1 addition & 1 deletion tests/test_setup/post.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ pub struct Model {
impl Display for Model {
fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
match &*self {
_ => write!(formatter, "{}", &self.title),
_ => write!(formatter, "{}", self.title),
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion tests/test_setup/sample_with_tenant_id.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pub struct Model {
impl Display for Model {
fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
match &*self {
_ => write!(formatter, "{}", &self.title),
_ => write!(formatter, "{}", self.title),
}
}
}
Expand Down
Loading