Format Rust sources at 100 columns
This commit is contained in:
1 parent
4661f595f8
commit
610478f8c7
336 files changed
+23497
-7892
No files matched your search
@@ -6,7 +6,8 @@ pub(super) struct Entry {
|
||||
|
||||
pub(super) fn load() -> Result<Vec<Entry>, String> {
|
||||
let entries: Vec<Entry> =
|
||||
serde_json::from_value(crate::compositor_ipc::call("get-keybindings")?).map_err(|error| error.to_string())?;
|
||||
serde_json::from_value(crate::compositor_ipc::call("get-keybindings")?)
|
||||
.map_err(|error| error.to_string())?;
|
||||
if entries.len() > 256
|
||||
|| entries
|
||||
.iter()
|
||||
@@ -18,7 +19,11 @@ pub(super) fn load() -> Result<Vec<Entry>, String> {
|
||||
}
|
||||
|
||||
impl crate::FereseShell {
|
||||
pub(super) fn load_guide(&mut self, manual: bool, output: Option<String>) -> cosmic::app::Task<crate::Message> {
|
||||
pub(super) fn load_guide(
|
||||
&mut self,
|
||||
manual: bool,
|
||||
output: Option<String>,
|
||||
) -> cosmic::app::Task<crate::Message> {
|
||||
let generation = self.guide_load.begin(manual);
|
||||
cosmic::app::Task::perform(
|
||||
async {
|
||||
|
||||
Reference in new issue
Block a user