-
Notifications
You must be signed in to change notification settings - Fork 94
Open
Labels
questionFurther information is requestedFurther information is requested
Description
Hi,
Is it possible to use empty + wrap helpers at the same time? This does not seem to compile:
#[derive(tabled::Tabled)]
pub struct Model {
#[tabled(
rename = "Description",
display = "tabled::derive::display::empty",
display("tabled::derive::display::wrap", 15)
)]
pub description: Option<String>,
}Reports:
#[derive(tabled::Tabled)]
| ^^^^^^^^^^^^^^ the trait `std::fmt::Display` is not implemented for `Option<std::string::String>
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested