Skip to content
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.

Commit

Permalink
run cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
HTGAzureX1212 committed Jun 19, 2022
1 parent f44e5f3 commit 3288170
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion model/src/forum/topic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use crate::id::{
/// Represents a forum topic.
#[derive(Clone, Debug, Deserialize, Serialize)]
#[serde(rename_all = "camelCase")]
pub struct ForumTopic {
pub struct ForumTopic {
channel_id: Id<ChannelMarker>,
content: Option<String>,
created_at: Timestamp,
Expand Down
2 changes: 1 addition & 1 deletion model/src/list/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! The list item object.
use serde::{Deserialize, Serialize};
use crate::channel::mentions::Mentions;
use serde::{Deserialize, Serialize};

use crate::datetime::Timestamp;
use crate::id::{
Expand Down
2 changes: 1 addition & 1 deletion model/src/list/note/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! The list item note.
use serde::{Deserialize, Serialize};
use crate::channel::mentions::Mentions;
use serde::{Deserialize, Serialize};

use crate::datetime::Timestamp;
use crate::id::{marker::UserMarker, Id};
Expand Down
1 change: 0 additions & 1 deletion model/src/list/partial.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,3 @@ impl PartialListItem {
self.updated_by.clone()
}
}

0 comments on commit 3288170

Please sign in to comment.