Fix
Some checks failed
Build docker image / Build-Docker-Image (push) Has been cancelled

This commit is contained in:
2024-08-23 11:17:02 +02:00
parent 1885549a75
commit 4412365b6a
3 changed files with 4 additions and 9 deletions

View File

@@ -4,8 +4,8 @@ use super::commands::AnnotationCommand;
#[derive(Debug)]
pub struct AnnotationFormatError {
pub command: AnnotationCommand,
pub text: String,
pub _command: AnnotationCommand,
pub _text: String,
}
impl fmt::Display for AnnotationFormatError {

View File

@@ -88,8 +88,8 @@ where
if !annotation.is_normal_text() {
return Err(Box::new(AnnotationFormatError {
command,
text: annotation.get_text().to_string(),
_command: command,
_text: annotation.get_text().to_string(),
}));
}

View File

@@ -11,8 +11,3 @@ pub struct DownloadFile {
pub filename: String,
pub caption: String,
}
#[derive(Deserialize)]
pub struct DownloadLink {
pub link: String,
}