diff options
Diffstat (limited to 'rust-mode.el')
| -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 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" |
