Update formatting

This commit is contained in:
Andras Schmelczer 2024-12-08 18:22:17 +00:00
parent dda356ea00
commit 49638e5aa7
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
27 changed files with 239 additions and 232 deletions

View file

@ -21,9 +21,7 @@ pub struct StoredDocumentVersion {
}
impl StoredDocumentVersion {
pub fn content_as_string(&self) -> String {
String::from_utf8_lossy(&self.content).to_string()
}
pub fn content_as_string(&self) -> String { String::from_utf8_lossy(&self.content).to_string() }
}
#[derive(Debug, Clone, Serialize, JsonSchema)]