Skip to content

Commit bc4e17e

Browse files
committed
Document MSRV policy
1 parent 5467c65 commit bc4e17e

File tree

5 files changed

+7
-15
lines changed

5 files changed

+7
-15
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[toolchain]
2-
channel = "1.59.0"
2+
channel = "1.61.0"
33
components = ["rustfmt", "rust-src"]

Cargo.lock

Lines changed: 0 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/CONTRIBUTING.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ contributors are strongly encouraged to write integration tests for their code.
3737
Existing tests can be used as examples. Helpers can be found in
3838
[helpers.rs][helpers.rs]
3939

40+
## Minimum Stable Rust Version (MSRV) Policy
41+
42+
Helix follows the MSRV of Firefox.
43+
The current MSRV and future changes to the MSRV are listed in the [Firefox documentation].
44+
45+
[Firefox documentation]: https://firefox-source-docs.mozilla.org/writing-rust-code/update-policy.html
4046
[good-first-issue]: https://github.com/helix-editor/helix/labels/E-easy
4147
[log-file]: https://github.com/helix-editor/helix/wiki/FAQ#access-the-log-file
4248
[architecture.md]: ./architecture.md

helix-term/Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,6 @@ serde = { version = "1.0", features = ["derive"] }
6767
grep-regex = "0.1.10"
6868
grep-searcher = "0.1.10"
6969

70-
# Remove once retain_mut lands in stable rust
71-
retain_mut = "0.1.7"
72-
7370
[target.'cfg(not(windows))'.dependencies] # https://github.com/vorner/signal-hook/issues/100
7471
signal-hook-tokio = { version = "0.3", features = ["futures-v0_3"] }
7572

helix-term/src/ui/picker.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -365,10 +365,6 @@ impl<T: Item> Picker<T> {
365365
.map(|(index, _option)| (index, 0)),
366366
);
367367
} else if pattern.starts_with(&self.previous_pattern) {
368-
// TODO: remove when retain_mut is in stable rust
369-
#[allow(unused_imports, deprecated)]
370-
use retain_mut::RetainMut;
371-
372368
// optimization: if the pattern is a more specific version of the previous one
373369
// then we can score the filtered set.
374370
#[allow(unstable_name_collisions)]

0 commit comments

Comments
 (0)