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]]
|
[[package]]
|
||||||
name = "grammalecte_client"
|
name = "grammalecte_client"
|
||||||
version = "0.1.1"
|
version = "0.1.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"env_logger",
|
"env_logger",
|
||||||
"log",
|
"log",
|
||||||
|
@ -296,7 +296,8 @@ pub struct SpellingError {
|
|||||||
/// Response to a suggestion request
|
/// Response to a suggestion request
|
||||||
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
|
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
|
||||||
pub struct SuggestResult {
|
pub struct SuggestResult {
|
||||||
suggestions: Vec<String>,
|
/// Suggestions returned by Grammalecte
|
||||||
|
pub suggestions: Vec<String>,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// The Grammalecte client itself
|
/// The Grammalecte client itself
|
||||||
|
Loading…
Reference in New Issue
Block a user