Rename DefPathData::get_name()
to DefPathData::name()
This commit is contained in:
parent
2708ad8bb4
commit
657ecdb75e
7 changed files with 7 additions and 7 deletions
|
@ -157,7 +157,7 @@ pub struct DisambiguatedDefPathData {
|
|||
|
||||
impl DisambiguatedDefPathData {
|
||||
pub fn fmt_maybe_verbose(&self, writer: &mut impl Write, verbose: bool) -> fmt::Result {
|
||||
match self.data.get_name() {
|
||||
match self.data.name() {
|
||||
DefPathDataName::Named(name) => {
|
||||
if Ident::with_dummy_span(name).is_raw_guess() {
|
||||
writer.write_str("r#")?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue