diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-02-06 11:52:09 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-02-06 11:52:09 +0100 |
| commit | ea8edfa821f059921550c45d4f0267160b638a04 (patch) | |
| tree | 940c358e400e55bc1ba47faf7c1fa07611af5241 /src/model/func.rs | |
| parent | 0bb0f1c98fc8eff5d7556bbe9d5801f02237a5c0 (diff) | |
Make Rust happier about the inline documentation
Diffstat (limited to 'src/model/func.rs')
| -rw-r--r-- | src/model/func.rs | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/model/func.rs b/src/model/func.rs index 1ccb0107..c5bab64c 100644 --- a/src/model/func.rs +++ b/src/model/func.rs @@ -226,18 +226,14 @@ pub struct FuncInfo { pub name: &'static str, /// The display name of the function. pub display: &'static str, - /// Which category the function is part of. - pub category: &'static str, /// Documentation for the function. pub docs: &'static str, - /// The source code of an example, if any. - pub example: Option<&'static str>, - /// Documentation about this function's syntax, if it has syntax. - pub syntax: Option<&'static str>, /// Details about the function's parameters. pub params: Vec<ParamInfo>, /// Valid types for the return value. pub returns: Vec<&'static str>, + /// Which category the function is part of. + pub category: &'static str, } impl FuncInfo { @@ -254,8 +250,6 @@ pub struct ParamInfo { pub name: &'static str, /// Documentation for the parameter. pub docs: &'static str, - /// The source code of an example, if any. - pub example: Option<&'static str>, /// Valid values for the parameter. pub cast: CastInfo, /// Is the parameter positional? |
