summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2020-04-27 01:03:21 +0200
committerNathan Moreau <nathan.moreau@m4x.org>2020-04-27 10:48:29 +0200
commit1f8a7631da96423fc08734fcee8db6055a3d0e31 (patch)
tree0f7b33de5385d95ac7c0e36e1a866d3d3808a2ae
parenta364b24af412659cc1074f533752356d1858b893 (diff)
downloadrust-mode-1f8a7631da96423fc08734fcee8db6055a3d0e31.tar.gz
Fix typos
-rw-r--r--rust-mode-tests.el2
-rw-r--r--rust-mode.el2
2 files changed, 2 insertions, 2 deletions
diff --git a/rust-mode-tests.el b/rust-mode-tests.el
index d0fb27a..4860941 100644
--- a/rust-mode-tests.el
+++ b/rust-mode-tests.el
@@ -1221,7 +1221,7 @@ fn test4();")
;; Insert 150 separate comments on the same line
(dotimes (i 150)
(insert "/* foo */ "))
- ;; Rewinding from the last commment to the end of the let needs at least
+ ;; Rewinding from the last comment to the end of the let needs at least
;; 150 iterations, but if we limit the stack depth to 100 (this appears to
;; be some minimum), a recursive function would overflow, throwing an
;; error.
diff --git a/rust-mode.el b/rust-mode.el
index 631e51c..1aa4e2e 100644
--- a/rust-mode.el
+++ b/rust-mode.el
@@ -205,7 +205,7 @@ to the function arguments. When nil, `->' will be indented one level."
:group 'rust-mode)
(defcustom rust-format-goto-problem t
- "Jump to location of first detected probem when formatting buffer."
+ "Jump to location of first detected problem when formatting buffer."
:type 'boolean
:safe #'booleanp
:group 'rust-mode)