mirror of https://github.com/icedland/iced.git
Add missing #[doc] attrs
This commit is contained in:
parent
f3a5da52c5
commit
b09e4aa9ef
|
@ -27,9 +27,9 @@ pub trait SymbolResolver {
|
||||||
#[derive(Debug, Clone, Eq, PartialEq, Hash)]
|
#[derive(Debug, Clone, Eq, PartialEq, Hash)]
|
||||||
pub enum SymResString<'a> {
|
pub enum SymResString<'a> {
|
||||||
/// Contains a `&'a str`
|
/// Contains a `&'a str`
|
||||||
Str(&'a str),
|
Str(#[doc = "The str"] &'a str),
|
||||||
/// Contains a `String`
|
/// Contains a `String`
|
||||||
String(String),
|
String(#[doc = "The string"] String),
|
||||||
}
|
}
|
||||||
impl Default for SymResString<'_> {
|
impl Default for SymResString<'_> {
|
||||||
#[must_use]
|
#[must_use]
|
||||||
|
@ -103,9 +103,9 @@ impl<'a> SymResTextPart<'a> {
|
||||||
#[derive(Debug, Clone, Eq, PartialEq, Hash)]
|
#[derive(Debug, Clone, Eq, PartialEq, Hash)]
|
||||||
pub enum SymResTextInfo<'a> {
|
pub enum SymResTextInfo<'a> {
|
||||||
/// Text and color
|
/// Text and color
|
||||||
Text(SymResTextPart<'a>),
|
Text(#[doc = "Text and color"] SymResTextPart<'a>),
|
||||||
/// Text and color (vector)
|
/// Text and color (vector)
|
||||||
TextVec(&'a [SymResTextPart<'a>]),
|
TextVec(#[doc = "Text and color"] &'a [SymResTextPart<'a>]),
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> SymResTextInfo<'a> {
|
impl<'a> SymResTextInfo<'a> {
|
||||||
|
|
Loading…
Reference in New Issue