style: Reformat with nightly

This commit is contained in:
timedout committed 2026-10-23 23:37:51 +02:00
1 parent c5b70958cf
commit 9c27441acf
11 files changed
+56 -47

No files matched your search

+2 -2
View File
@@ -65,8 +65,8 @@ use crate::{Result, err, error::Error, utils::sys};
ignore = "config_paths catchall"
)]
pub struct Config {
// Paths to config file(s). Not supposed to be set manually in the config file,
// only updated dynamically from the --config option given at runtime.
// Paths to config file(s). Not supposed to be set manually in the config
// file, only updated dynamically from the --config option given at runtime.
pub config_paths: Option<Vec<PathBuf>>,
/// The server_name is the pretty name of this server. It is used as a
+2 -2
View File
@@ -590,8 +590,8 @@ where
.find(|aev| is_type_and_key(*aev, &TimelineEventType::RoomPowerLevels, ""));
let content: PowerLevelsContentFields = match pl {
// With no m.room.power_levels in scope the create event's defaults apply,
// under which the room creator holds 100 and everyone else 0.
// With no m.room.power_levels in scope the create event's defaults
// apply, under which the room creator holds 100 and everyone else 0.
| None => return Ok(if sender_is_creator { int!(100) } else { int!(0) }),
| Some(ev) => from_json_str(ev.content().get())?,
};