mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +00:00
Cleaned up trailing whitespace for tidy::files_are_tidy
This commit is contained in:
parent
3203cb124e
commit
3cb78ffa82
@ -1606,49 +1606,49 @@ mod modname {
|
|||||||
r"
|
r"
|
||||||
$0/// A documented function
|
$0/// A documented function
|
||||||
fn documented_fn() {}
|
fn documented_fn() {}
|
||||||
|
|
||||||
// A commented function with a #[] attribute macro
|
// A commented function with a #[] attribute macro
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
fn attribute_fn() {}
|
fn attribute_fn() {}
|
||||||
|
|
||||||
// A normally commented function
|
// A normally commented function
|
||||||
fn normal_fn() {}
|
fn normal_fn() {}
|
||||||
|
|
||||||
/// A documented Struct
|
/// A documented Struct
|
||||||
struct DocumentedStruct {
|
struct DocumentedStruct {
|
||||||
// Normal field
|
// Normal field
|
||||||
x: i32,
|
x: i32,
|
||||||
|
|
||||||
/// Documented field
|
/// Documented field
|
||||||
y: i32,
|
y: i32,
|
||||||
|
|
||||||
// Macroed field
|
// Macroed field
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
z: i32,
|
z: i32,
|
||||||
}
|
}
|
||||||
|
|
||||||
// A macroed Struct
|
// A macroed Struct
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
struct MacroedStruct {
|
struct MacroedStruct {
|
||||||
// Normal field
|
// Normal field
|
||||||
x: i32,
|
x: i32,
|
||||||
|
|
||||||
/// Documented field
|
/// Documented field
|
||||||
y: i32,
|
y: i32,
|
||||||
|
|
||||||
// Macroed field
|
// Macroed field
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
z: i32,
|
z: i32,
|
||||||
}
|
}
|
||||||
|
|
||||||
// A normal Struct
|
// A normal Struct
|
||||||
struct NormalStruct {
|
struct NormalStruct {
|
||||||
// Normal field
|
// Normal field
|
||||||
x: i32,
|
x: i32,
|
||||||
|
|
||||||
/// Documented field
|
/// Documented field
|
||||||
y: i32,
|
y: i32,
|
||||||
|
|
||||||
// Macroed field
|
// Macroed field
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
z: i32,
|
z: i32,
|
||||||
@ -1660,10 +1660,10 @@ mod modname {
|
|||||||
// A macroed type
|
// A macroed type
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
type MacroedType = i32;
|
type MacroedType = i32;
|
||||||
|
|
||||||
/// A module to move
|
/// A module to move
|
||||||
mod module {}
|
mod module {}
|
||||||
|
|
||||||
/// An impl to move
|
/// An impl to move
|
||||||
impl NormalStruct {
|
impl NormalStruct {
|
||||||
/// A method
|
/// A method
|
||||||
@ -1688,49 +1688,49 @@ mod modname {
|
|||||||
mod modname {
|
mod modname {
|
||||||
/// A documented function
|
/// A documented function
|
||||||
pub(crate) fn documented_fn() {}
|
pub(crate) fn documented_fn() {}
|
||||||
|
|
||||||
// A commented function with a #[] attribute macro
|
// A commented function with a #[] attribute macro
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
pub(crate) fn attribute_fn() {}
|
pub(crate) fn attribute_fn() {}
|
||||||
|
|
||||||
// A normally commented function
|
// A normally commented function
|
||||||
pub(crate) fn normal_fn() {}
|
pub(crate) fn normal_fn() {}
|
||||||
|
|
||||||
/// A documented Struct
|
/// A documented Struct
|
||||||
pub(crate) struct DocumentedStruct {
|
pub(crate) struct DocumentedStruct {
|
||||||
// Normal field
|
// Normal field
|
||||||
pub(crate) x: i32,
|
pub(crate) x: i32,
|
||||||
|
|
||||||
/// Documented field
|
/// Documented field
|
||||||
pub(crate) y: i32,
|
pub(crate) y: i32,
|
||||||
|
|
||||||
// Macroed field
|
// Macroed field
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
pub(crate) z: i32,
|
pub(crate) z: i32,
|
||||||
}
|
}
|
||||||
|
|
||||||
// A macroed Struct
|
// A macroed Struct
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
pub(crate) struct MacroedStruct {
|
pub(crate) struct MacroedStruct {
|
||||||
// Normal field
|
// Normal field
|
||||||
pub(crate) x: i32,
|
pub(crate) x: i32,
|
||||||
|
|
||||||
/// Documented field
|
/// Documented field
|
||||||
pub(crate) y: i32,
|
pub(crate) y: i32,
|
||||||
|
|
||||||
// Macroed field
|
// Macroed field
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
pub(crate) z: i32,
|
pub(crate) z: i32,
|
||||||
}
|
}
|
||||||
|
|
||||||
// A normal Struct
|
// A normal Struct
|
||||||
pub(crate) struct NormalStruct {
|
pub(crate) struct NormalStruct {
|
||||||
// Normal field
|
// Normal field
|
||||||
pub(crate) x: i32,
|
pub(crate) x: i32,
|
||||||
|
|
||||||
/// Documented field
|
/// Documented field
|
||||||
pub(crate) y: i32,
|
pub(crate) y: i32,
|
||||||
|
|
||||||
// Macroed field
|
// Macroed field
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
pub(crate) z: i32,
|
pub(crate) z: i32,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user