Skip to content

Commit 203e43d

Browse files
committed
Fix doc links to syn::Ident
1 parent a43676a commit 203e43d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ use proc_macro2::Span;
2929
pub use scope::{Scope, ScopeAttr, ScopeItem};
3030
use syn::Ident;
3131

32-
/// Tool to make a formatted [`Ident`]
32+
/// Tool to make a formatted [`Ident`](struct@Ident)
3333
pub struct IdentFormatter(String);
3434
impl IdentFormatter {
3535
/// Construct a formatter
3636
pub fn new() -> Self {
3737
IdentFormatter(String::with_capacity(32))
3838
}
3939

40-
/// Construct a new [`Ident`]
40+
/// Construct a new [`Ident`](struct@Ident)
4141
pub fn make(&mut self, args: std::fmt::Arguments, span: Span) -> Ident {
4242
use std::fmt::Write;
4343

@@ -46,7 +46,7 @@ impl IdentFormatter {
4646
Ident::new(&self.0, span)
4747
}
4848

49-
/// Construct a new [`Ident`], using [`Span::call_site`]
49+
/// Construct a new [`Ident`](struct@Ident), using [`Span::call_site`]
5050
///
5151
/// # Example
5252
///

0 commit comments

Comments
 (0)