File tree Expand file tree Collapse file tree 1 file changed +24
-24
lines changed
crates/ide-assists/src/handlers Expand file tree Collapse file tree 1 file changed +24
-24
lines changed Original file line number Diff line number Diff line change @@ -1606,49 +1606,49 @@ mod modname {
1606
1606
r"
1607
1607
$0/// A documented function
1608
1608
fn documented_fn() {}
1609
-
1609
+
1610
1610
// A commented function with a #[] attribute macro
1611
1611
#[cfg(test)]
1612
1612
fn attribute_fn() {}
1613
-
1613
+
1614
1614
// A normally commented function
1615
1615
fn normal_fn() {}
1616
-
1616
+
1617
1617
/// A documented Struct
1618
1618
struct DocumentedStruct {
1619
1619
// Normal field
1620
1620
x: i32,
1621
-
1621
+
1622
1622
/// Documented field
1623
1623
y: i32,
1624
-
1624
+
1625
1625
// Macroed field
1626
1626
#[cfg(test)]
1627
1627
z: i32,
1628
1628
}
1629
-
1629
+
1630
1630
// A macroed Struct
1631
1631
#[cfg(test)]
1632
1632
struct MacroedStruct {
1633
1633
// Normal field
1634
1634
x: i32,
1635
-
1635
+
1636
1636
/// Documented field
1637
1637
y: i32,
1638
-
1638
+
1639
1639
// Macroed field
1640
1640
#[cfg(test)]
1641
1641
z: i32,
1642
1642
}
1643
-
1643
+
1644
1644
// A normal Struct
1645
1645
struct NormalStruct {
1646
1646
// Normal field
1647
1647
x: i32,
1648
-
1648
+
1649
1649
/// Documented field
1650
1650
y: i32,
1651
-
1651
+
1652
1652
// Macroed field
1653
1653
#[cfg(test)]
1654
1654
z: i32,
@@ -1660,10 +1660,10 @@ mod modname {
1660
1660
// A macroed type
1661
1661
#[cfg(test)]
1662
1662
type MacroedType = i32;
1663
-
1663
+
1664
1664
/// A module to move
1665
1665
mod module {}
1666
-
1666
+
1667
1667
/// An impl to move
1668
1668
impl NormalStruct {
1669
1669
/// A method
@@ -1688,49 +1688,49 @@ mod modname {
1688
1688
mod modname {
1689
1689
/// A documented function
1690
1690
pub(crate) fn documented_fn() {}
1691
-
1691
+
1692
1692
// A commented function with a #[] attribute macro
1693
1693
#[cfg(test)]
1694
1694
pub(crate) fn attribute_fn() {}
1695
-
1695
+
1696
1696
// A normally commented function
1697
1697
pub(crate) fn normal_fn() {}
1698
-
1698
+
1699
1699
/// A documented Struct
1700
1700
pub(crate) struct DocumentedStruct {
1701
1701
// Normal field
1702
1702
pub(crate) x: i32,
1703
-
1703
+
1704
1704
/// Documented field
1705
1705
pub(crate) y: i32,
1706
-
1706
+
1707
1707
// Macroed field
1708
1708
#[cfg(test)]
1709
1709
pub(crate) z: i32,
1710
1710
}
1711
-
1711
+
1712
1712
// A macroed Struct
1713
1713
#[cfg(test)]
1714
1714
pub(crate) struct MacroedStruct {
1715
1715
// Normal field
1716
1716
pub(crate) x: i32,
1717
-
1717
+
1718
1718
/// Documented field
1719
1719
pub(crate) y: i32,
1720
-
1720
+
1721
1721
// Macroed field
1722
1722
#[cfg(test)]
1723
1723
pub(crate) z: i32,
1724
1724
}
1725
-
1725
+
1726
1726
// A normal Struct
1727
1727
pub(crate) struct NormalStruct {
1728
1728
// Normal field
1729
1729
pub(crate) x: i32,
1730
-
1730
+
1731
1731
/// Documented field
1732
1732
pub(crate) y: i32,
1733
-
1733
+
1734
1734
// Macroed field
1735
1735
#[cfg(test)]
1736
1736
pub(crate) z: i32,
You can’t perform that action at this time.
0 commit comments