Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -325,10 +325,10 @@ where
/// `quote!` macro. It expands to a reference to the matched field.
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
pub struct BindingInfo<'a> {
/// The name which this BindingInfo will bind to.
/// The name which this `BindingInfo` will bind to.
pub binding: Ident,

/// The type of binding which this BindingInfo will create.
/// The type of binding which this `BindingInfo` will create.
pub style: BindStyle,

field: &'a Field,
Expand All @@ -341,7 +341,7 @@ pub struct BindingInfo<'a> {
index: usize,
}

impl<'a> ToTokens for BindingInfo<'a> {
impl ToTokens for BindingInfo<'_> {
fn to_tokens(&self, tokens: &mut TokenStream) {
self.binding.to_tokens(tokens);
}
Expand Down