Fix bad structure interface

This commit is contained in:
Pierre HUBERT 2022-12-20 10:14:57 +01:00
parent 93bd795560
commit 991dc71c79
2 changed files with 3 additions and 2 deletions

2
Cargo.lock generated
View File

@ -349,7 +349,7 @@ dependencies = [
[[package]]
name = "grammalecte_client"
version = "0.1.1"
version = "0.1.2"
dependencies = [
"env_logger",
"log",

View File

@ -296,7 +296,8 @@ pub struct SpellingError {
/// Response to a suggestion request
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
pub struct SuggestResult {
suggestions: Vec<String>,
/// Suggestions returned by Grammalecte
pub suggestions: Vec<String>,
}
/// The Grammalecte client itself