Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
syrusakbary committed Jun 19, 2023
1 parent 0476ea6 commit 592e34b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 1 addition & 2 deletions lib/cli/src/commands/init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ use std::path::Path;
use std::path::PathBuf;
use wasmer_registry::WasmerConfig;

static NOTE: &str =
"# See more keys and definitions at https://docs.wasmer.io/registry/manifest";
static NOTE: &str = "# See more keys and definitions at https://docs.wasmer.io/registry/manifest";

const NEWLINE: &str = if cfg!(windows) { "\r\n" } else { "\n" };

Expand Down
5 changes: 4 additions & 1 deletion lib/types/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,10 @@ pub enum CompileError {

/// The compiler cannot compile for the given target.
/// This can refer to the OS, the chipset or any other aspect of the target system.
#[cfg_attr(feature = "std", error("The target {0} is not yet supported (see https://docs.wasmer.io/runtime/features)"))]
#[cfg_attr(
feature = "std",
error("The target {0} is not yet supported (see https://docs.wasmer.io/runtime/features)")
)]
UnsupportedTarget(String),

/// Insufficient resources available for execution.
Expand Down

0 comments on commit 592e34b

Please sign in to comment.