Skip to content

Commit 05f9847

Browse files
ulidtkoda-x
authored andcommitted
Proofread the doc
1 parent b7176e7 commit 05f9847

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

doc/rust.txt

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -128,15 +128,14 @@ g:rustfmt_autosave~
128128

129129
*g:rustfmt_autosave_if_config_present*
130130
g:rustfmt_autosave_if_config_present~
131-
Set this option to 1 to to have *b:rustfmt_autosave* be set automatically
132-
if a `rustfmt.toml` file is present in any parent directly leading to
131+
Set this option to 1 to have *b:rustfmt_autosave* be set automatically
132+
if a `rustfmt.toml` file is present in any parent directly leading to
133133
the file being edited. If not set, default to 0: >
134-
135134
let g:rustfmt_autosave_if_config_present = 0
136135
<
137136
This is useful to have `rustfmt` only execute on save, on projects
138137
that have `rustfmt.toml` configuration.
139-
138+
140139
There is also a buffer-local b:rustfmt_autosave_if_config_present
141140
that can be set for the same purpose, which can overrides the global
142141
setting.
@@ -161,6 +160,7 @@ g:rustfmt_emit_files~
161160
provided) instead of '--write-mode=overwrite'. >
162161
let g:rustfmt_emit_files = 0
163162
163+
164164
*g:rust_playpen_url*
165165
g:rust_playpen_url~
166166
Set this option to override the url for the playpen to use: >
@@ -192,9 +192,9 @@ Integration with Syntastic *rust-syntastic*
192192
--------------------------
193193

194194
This plugin automatically integrates with the Syntastic checker. There are two
195-
checkers provided: 'rustc', and 'cargo'. The later invokes 'Cargo' in order to
195+
checkers provided: 'rustc', and 'cargo'. The latter invokes 'Cargo' in order to
196196
build code, and the former delivers a single edited '.rs' file as a compilation
197-
target directly to the Rust compiler, `rustc`.
197+
target directly to the Rust compiler, `rustc`.
198198

199199
Because Cargo is almost exclusively being used for building Rust code these
200200
days, 'cargo' is the default checker. >
@@ -354,7 +354,8 @@ Playpen integration
354354
|g:rust_clip_command| is the command to run to copy the
355355
playpen url to the clipboard of your system.
356356

357-
Evaulation of a single Rust file
357+
358+
Evaluation of a single Rust file
358359
--------------------------------
359360

360361
NOTE: These commands are useful only when working with standalone Rust files,

0 commit comments

Comments
 (0)