Fix bad structure interface
This commit is contained in:
parent
93bd795560
commit
991dc71c79
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -349,7 +349,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "grammalecte_client"
|
||||
version = "0.1.1"
|
||||
version = "0.1.2"
|
||||
dependencies = [
|
||||
"env_logger",
|
||||
"log",
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user