Update Cargo.lock file (#157)

This commit is contained in:
Ulyssa 2023-09-12 17:17:29 -07:00
parent 0565b6eb05
commit 7fdb5f98e3
No known key found for this signature in database
GPG key ID: F2873CA2997B83C5
5 changed files with 689 additions and 916 deletions

View file

@ -226,10 +226,7 @@ pub enum IambAction {
impl IambAction {
/// Indicates whether this action will draw over the screen.
pub fn scribbles(&self) -> bool {
match self {
IambAction::Send(SendAction::SubmitFromEditor) => true,
_ => false,
}
matches!(self, IambAction::Send(SendAction::SubmitFromEditor))
}
}

View file

@ -271,7 +271,6 @@ fn iamb_editor(desc: CommandDescription, ctx: &mut ProgContext) -> ProgResult {
return Result::Err(CommandError::InvalidArgument);
}
let sact = IambAction::from(SendAction::SubmitFromEditor);
let step = CommandStep::Continue(sact.into(), ctx.context.take());

View file

@ -4,10 +4,10 @@ use std::fs;
use std::ops::Deref;
use std::path::{Path, PathBuf};
use edit::edit as external_edit;
use modalkit::editing::store::RegisterError;
use std::process::Command;
use tokio;
use edit::edit as external_edit;
use matrix_sdk::{
attachment::AttachmentConfig,