Skip to content

Commit

Permalink
Optional snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
drakeerv committed Oct 31, 2024
1 parent 3a92bb3 commit 88cc19b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ pub struct Result {

#[derive(Debug, Default, Clone, Deserialize, Serialize)]
pub struct GeneralResult {
pub snippet: String,
pub snippet: Option<String>,
}
#[derive(Debug, Default, Clone, Deserialize, Serialize)]
pub struct ForumResult {
Expand Down

0 comments on commit 88cc19b

Please sign in to comment.