diff options
| -rw-r--r-- | rust-mode.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/rust-mode.el b/rust-mode.el index b237896..2a0ad19 100644 --- a/rust-mode.el +++ b/rust-mode.el @@ -78,12 +78,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" |
