Skip to content

Commit 35067fb

Browse files
committed
Remove indentation from error string
1 parent 6cf732e commit 35067fb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/lib.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -146,11 +146,11 @@ impl fmt::Display for Error {
146146
match *self {
147147
Error::EnvNoPkgConfig(ref name) => write!(f, "Aborted because {} is set", name),
148148
Error::CrossCompilation => f.write_str(
149-
"pkg-config has not been configured to support cross-compilation.
150-
151-
Install a sysroot for the target platform and configure it via
152-
PKG_CONFIG_SYSROOT_DIR and PKG_CONFIG_PATH, or install a
153-
cross-compiling wrapper for pkg-config and set it via
149+
"pkg-config has not been configured to support cross-compilation.\n\
150+
\n\
151+
Install a sysroot for the target platform and configure it via\n\
152+
PKG_CONFIG_SYSROOT_DIR and PKG_CONFIG_PATH, or install a\n\
153+
cross-compiling wrapper for pkg-config and set it via\n\
154154
PKG_CONFIG environment variable.",
155155
),
156156
Error::Command {

0 commit comments

Comments
 (0)