diff options
| author | TopGunSnake <tjwebster@crimson.ua.edu> | 2022-07-18 20:29:13 -0500 |
|---|---|---|
| committer | TopGunSnake <tjwebster@crimson.ua.edu> | 2022-07-18 20:29:13 -0500 |
| commit | 3cb78ffa82328a9a67cedc614da75092026d2890 (patch) | |
| tree | 816fdb05b488b1ea183f3e6bd8afe97cb8b8e1ad | |
| parent | 3203cb124ef48fa737901c59b40e752dc00a9ae0 (diff) | |
| download | rust-3cb78ffa82328a9a67cedc614da75092026d2890.tar.gz rust-3cb78ffa82328a9a67cedc614da75092026d2890.zip | |
Cleaned up trailing whitespace for tidy::files_are_tidy
| -rw-r--r-- | crates/ide-assists/src/handlers/extract_module.rs | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/crates/ide-assists/src/handlers/extract_module.rs b/crates/ide-assists/src/handlers/extract_module.rs index 3f93ebc7de8..cf7d35d673d 100644 --- a/crates/ide-assists/src/handlers/extract_module.rs +++ b/crates/ide-assists/src/handlers/extract_module.rs @@ -1606,49 +1606,49 @@ mod modname { r" $0/// A documented function fn documented_fn() {} - + // A commented function with a #[] attribute macro #[cfg(test)] fn attribute_fn() {} - + // A normally commented function fn normal_fn() {} - + /// A documented Struct struct DocumentedStruct { // Normal field x: i32, - + /// Documented field y: i32, - + // Macroed field #[cfg(test)] z: i32, } - + // A macroed Struct #[cfg(test)] struct MacroedStruct { // Normal field x: i32, - + /// Documented field y: i32, - + // Macroed field #[cfg(test)] z: i32, } - + // A normal Struct struct NormalStruct { // Normal field x: i32, - + /// Documented field y: i32, - + // Macroed field #[cfg(test)] z: i32, @@ -1660,10 +1660,10 @@ mod modname { // A macroed type #[cfg(test)] type MacroedType = i32; - + /// A module to move mod module {} - + /// An impl to move impl NormalStruct { /// A method @@ -1688,49 +1688,49 @@ mod modname { mod modname { /// A documented function pub(crate) fn documented_fn() {} - + // A commented function with a #[] attribute macro #[cfg(test)] pub(crate) fn attribute_fn() {} - + // A normally commented function pub(crate) fn normal_fn() {} - + /// A documented Struct pub(crate) struct DocumentedStruct { // Normal field pub(crate) x: i32, - + /// Documented field pub(crate) y: i32, - + // Macroed field #[cfg(test)] pub(crate) z: i32, } - + // A macroed Struct #[cfg(test)] pub(crate) struct MacroedStruct { // Normal field pub(crate) x: i32, - + /// Documented field pub(crate) y: i32, - + // Macroed field #[cfg(test)] pub(crate) z: i32, } - + // A normal Struct pub(crate) struct NormalStruct { // Normal field pub(crate) x: i32, - + /// Documented field pub(crate) y: i32, - + // Macroed field #[cfg(test)] pub(crate) z: i32, |
