mirror of https://github.com/zkat/miette.git
Edit: delete last commit changes
This commit is contained in:
parent
9071750c32
commit
89fc324651
|
|
@ -114,10 +114,9 @@ impl Labels {
|
|||
quote! {
|
||||
miette::macro_helpers::OptionalWrapper::<#ty>::new().to_option(&self.#span)
|
||||
.map(|#var| miette::LabeledSpan::new_with_span(
|
||||
std::option::Option::Some(format!(#fmt #args)),
|
||||
#var.clone(),
|
||||
)
|
||||
)
|
||||
std::option::Option::Some(format!(#fmt #args)),
|
||||
#var.clone(),
|
||||
))
|
||||
}
|
||||
} else {
|
||||
quote! {
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ use crate::{
|
|||
};
|
||||
|
||||
pub struct SourceCode {
|
||||
pub source_code: syn::Member,
|
||||
source_code: syn::Member,
|
||||
}
|
||||
|
||||
impl SourceCode {
|
||||
|
|
|
|||
Loading…
Reference in New Issue