branch: elpa/rust-mode
commit 59375893e511c22f03ab8e4c965c70d62257ebef
Author: Tom Tromey <[email protected]>
Commit: Tom Tromey <[email protected]>
set :safe on two defcustoms
---
rust-mode.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/rust-mode.el b/rust-mode.el
index 58df76d..76eb998 100644
--- a/rust-mode.el
+++ b/rust-mode.el
@@ -55,12 +55,14 @@
(defcustom rust-indent-offset 4
"Indent Rust code by this number of spaces."
:type 'integer
- :group 'rust-mode)
+ :group 'rust-mode
+ :safe #'integerp)
(defcustom rust-indent-method-chain nil
"Indent Rust method chains, aligned by the '.' operators"
:type 'boolean
- :group 'rust-mode)
+ :group 'rust-mode
+ :safe #'booleanp)
(defcustom rust-playpen-url-format "https://play.rust-lang.org/?code=%s"
"Format string to use when submitting code to the playpen"