Apply enso-formatter (#6006)

Somebody forgot to apply `./run fmt` before committing to develop, so now we have a lot of whitespace changes in files.

# Important Notes
See https://github.com/enso-org/enso/issues/5166
This commit is contained in:
Ilya Bogdanov 2023-03-21 01:45:28 +04:00 committed by GitHub
parent 38861d91d9
commit c7da4df742
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 32 additions and 20 deletions

View File

@ -12,12 +12,10 @@ use double_representation::name::QualifiedName;
use enso_text::Location;
// ==============
// === Export ===
// ==============
// ===============
// === Exports ===
// ===============
// Re-exported here so it can be referenced by macro-generated code.
pub use enso_doc_parser;

View File

@ -22,9 +22,6 @@
use enso_prelude::*;
use ensogl::prelude::*;
use ide_view_documentation as documentation;
use ide_view_graph_editor::component::node::HEIGHT as NODE_HEIGHT;
use enso_frp as frp;
use ensogl::application::frp::API;
use ensogl::application::Application;
@ -32,7 +29,8 @@ use ensogl::display;
use ensogl::display::shape::StyleWatchFrp;
use ensogl_gui_component::component;
use ensogl_hardcoded_theme::application::component_browser as theme;
use ide_view_documentation as documentation;
use ide_view_graph_editor::component::node::HEIGHT as NODE_HEIGHT;
// ==============

View File

@ -7,6 +7,8 @@ use std::collections::HashMap;
use std::fmt::Formatter;
use std::process::Stdio;
/// Get the docker image identifier from the `docker build` command output.
///
/// This assumes format compatible with `--quiet` flag.

View File

@ -1,6 +1,5 @@
//! Library for working with simple uncompressed bitmaps.
// === Features ===
// === Standard Linter Configuration ===
#![deny(non_ascii_idents)]
#![warn(unsafe_code)]

View File

@ -6,6 +6,7 @@
//! MSDF parameters that are computed per-glyph.
use enso_prelude::*;
use ensogl_core::system::web::JsCast;
use ensogl_core::system::web::JsValue;
use ensogl_core::system::web::Map;

View File

@ -13,9 +13,10 @@
//! tools. However, the programs are generated at runtime, so build-time optimization requires
//! dynamic analysis. Dynamic asset extraction fills this role.
#![cfg(target_arch = "wasm32")]
// === Features ===
#![feature(local_key_cell_methods)]
#![feature(let_chains)]
#![cfg(target_arch = "wasm32")]
// === Standard Linter Configuration ===
#![deny(non_ascii_idents)]
#![warn(unsafe_code)]
@ -34,9 +35,8 @@
#![warn(unused_import_braces)]
#![warn(unused_qualifications)]
use enso_prelude::*;
use enso_shapely::before_main;
use ensogl_core::system::js;
use ensogl_core::system::web::Closure;
@ -44,6 +44,11 @@ use ensogl_core::system::web::JsCast;
use ensogl_core::system::web::JsValue;
use ensogl_core::system::web::Map;
// ==============
// === Export ===
// ==============
pub mod fonts;
pub mod shaders;

View File

@ -1,6 +1,7 @@
//! Offline optimization of runtime-generated shader programs.
use enso_prelude::*;
use ensogl_core::system::web::JsValue;
use ensogl_core::system::web::Map;

View File

@ -10,9 +10,11 @@
//! files, so that if a calculated output path already exists, it is already up-to-date; otherwise,
//! it must be built. This design may be familiar to users of the Nix or Guix package managers.
use crate::Paths;
use enso_prelude::anyhow;
use ide_ci::prelude::*;
use crate::Paths;
use enso_prelude::anyhow;
use ide_ci::programs::shaderc::Glslc;
use ide_ci::programs::shaderc::SpirvOpt;
use ide_ci::programs::spirv_cross::SpirvCross;

View File

@ -114,9 +114,10 @@
// === Standard Linter Configuration ===
#![deny(non_ascii_idents)]
#![warn(unsafe_code)]
#![warn(missing_docs)]
#![allow(clippy::bool_to_int_with_if)]
#![allow(clippy::let_and_return)]
// === Non-Standard Linter Configuration ===
#![warn(missing_docs)]
use ide_ci::prelude::*;
@ -128,14 +129,13 @@ use std::path::Path;
use std::path::PathBuf;
use walkdir::WalkDir;
pub mod assets;
// ==============
// === Export ===
// ==============
pub mod assets;
pub use ide_ci::prelude;

View File

@ -26,11 +26,18 @@
use enso_prelude::*;
// ==============
// === Export ===
// ==============
pub mod doc_sections;
pub use doc_sections::parse;
pub use doc_sections::DocSection;
pub(crate) use enso_profiler as profiler;
pub(crate) use enso_profiler::profile;

View File

@ -28,7 +28,6 @@
#![warn(unused_import_braces)]
#![warn(unused_qualifications)]
use enso_doc_parser::*;
use enso_parser::prelude::*;