cargo fmt
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
f621b318c5
commit
25c6d8b2ad
@ -42,10 +42,7 @@ pub mod unstable {
|
||||
impl Request {
|
||||
/// Creates a new `Request` with the given user ID and timezone.
|
||||
pub fn new(user_id: OwnedUserId, tz: Option<String>) -> Self {
|
||||
Self {
|
||||
user_id,
|
||||
tz,
|
||||
}
|
||||
Self { user_id, tz }
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -10,8 +10,6 @@ use ruma_macros::Event;
|
||||
use serde::{ser::SerializeStruct, Deserialize, Deserializer, Serialize};
|
||||
use serde_json::value::RawValue as RawJsonValue;
|
||||
|
||||
use crate::{AnyGlobalAccountDataEvent, AnyRoomAccountDataEvent};
|
||||
|
||||
use super::{
|
||||
AnyInitialStateEvent, EmptyStateKey, EphemeralRoomEventContent, EventContent,
|
||||
EventContentFromType, GlobalAccountDataEventContent, MessageLikeEventContent,
|
||||
@ -20,6 +18,7 @@ use super::{
|
||||
RedactionDeHelper, RoomAccountDataEventContent, StateEventType, StaticStateEventContent,
|
||||
ToDeviceEventContent,
|
||||
};
|
||||
use crate::{AnyGlobalAccountDataEvent, AnyRoomAccountDataEvent};
|
||||
|
||||
/// Enum allowing to use the same structures for global and room account data
|
||||
#[derive(Debug)]
|
||||
|
@ -67,8 +67,7 @@ impl ReleaseTask {
|
||||
pub(crate) fn run(&mut self) -> Result<()> {
|
||||
let title = &self.title();
|
||||
let prerelease = !self.version.pre.is_empty();
|
||||
let publish_only =
|
||||
["ruma-macros"].contains(&self.package.name.as_str());
|
||||
let publish_only = ["ruma-macros"].contains(&self.package.name.as_str());
|
||||
|
||||
println!(
|
||||
"Starting {} for {title}…",
|
||||
|
Loading…
x
Reference in New Issue
Block a user