mirror of
https://github.com/enso-org/enso.git
synced 2024-12-24 15:51:54 +03:00
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:
parent
38861d91d9
commit
c7da4df742
@ -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;
|
||||
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
||||
// ==============
|
||||
|
@ -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.
|
||||
|
@ -1,6 +1,5 @@
|
||||
//! Library for working with simple uncompressed bitmaps.
|
||||
|
||||
// === Features ===
|
||||
// === Standard Linter Configuration ===
|
||||
#![deny(non_ascii_idents)]
|
||||
#![warn(unsafe_code)]
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
@ -28,7 +28,6 @@
|
||||
#![warn(unused_import_braces)]
|
||||
#![warn(unused_qualifications)]
|
||||
|
||||
|
||||
use enso_doc_parser::*;
|
||||
use enso_parser::prelude::*;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user