Skip to content

Commit cd09a54

Browse files
authored
Merge pull request #189 from froydnj/minor-cleanups
minor cleanups: https links and defcustom grouping
2 parents e327658 + 4935090 commit cd09a54

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

rust-mode.el

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@
146146

147147
(defgroup rust-mode nil
148148
"Support for Rust code."
149-
:link '(url-link "http://www.rust-lang.org/")
149+
:link '(url-link "https://www.rust-lang.org/")
150150
:group 'languages)
151151

152152
(defcustom rust-indent-offset 4
@@ -172,7 +172,7 @@ function or trait. When nil, where will be aligned with fn or trait."
172172
"Format string to use when submitting code to the playpen"
173173
:type 'string
174174
:group 'rust-mode)
175-
(defcustom rust-shortener-url-format "http://is.gd/create.php?format=simple&url=%s"
175+
(defcustom rust-shortener-url-format "https://is.gd/create.php?format=simple&url=%s"
176176
"Format string to use for creating the shortened link of a playpen submission"
177177
:type 'string
178178
:group 'rust-mode)
@@ -187,11 +187,13 @@ function or trait. When nil, where will be aligned with fn or trait."
187187
(defcustom rust-format-on-save nil
188188
"Format future rust buffers before saving using rustfmt."
189189
:type 'boolean
190-
:safe #'booleanp)
190+
:safe #'booleanp
191+
:group 'rust-mode)
191192

192193
(defcustom rust-rustfmt-bin "rustfmt"
193194
"Path to rustfmt executable."
194-
:type 'string)
195+
:type 'string
196+
:group 'rust-mode)
195197

196198
(defface rust-unsafe-face
197199
'((t :inherit font-lock-warning-face))

0 commit comments

Comments
 (0)