aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2021-03-06 03:28:06 -0500
committerJesse Luehrs <doy@tozt.net>2021-03-06 03:28:06 -0500
commitc9fc9cd6983ccd3c50ce58823807f0b18aa8cde1 (patch)
treea0ba05ef93979523aa075b0f21693d1054a48046
parentc27a03533a0624a35a2a63c6c94b26d187e813d2 (diff)
downloadpty-process-c9fc9cd6983ccd3c50ce58823807f0b18aa8cde1.tar.gz
pty-process-c9fc9cd6983ccd3c50ce58823807f0b18aa8cde1.zip
fix rustfmt config
-rw-r--r--.rustfmt.toml2
-rw-r--r--src/lib.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/.rustfmt.toml b/.rustfmt.toml
index 6a05a26..55b0b14 100644
--- a/.rustfmt.toml
+++ b/.rustfmt.toml
@@ -1,2 +1,2 @@
-edition = 2018
+edition = "2018"
max_width = 78
diff --git a/src/lib.rs b/src/lib.rs
index 80fdbc7..a9672ce 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -22,7 +22,7 @@
//!
//! ```no_run
//! # use pty_process::Command as _;
-//! #
+//! #
//! # let mut cmd = std::process::Command::new("nethack");
//! # let mut child = cmd
//! # .spawn_pty(Some(&pty_process::Size::new(24, 80))).unwrap();