Skip to content

Commit 2cf4401

Browse files
committed
fix: restore building on stable Rust
1 parent 363d8bb commit 2cf4401

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

.github/workflows/rust.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@ jobs:
2323
image: ghcr.io/archlinux/archlinux:latest
2424
steps:
2525
- name: Install Rust
26-
run: |
27-
pacman -Sy rustup gcc glibc openssl pkgconf --noconfirm
28-
rustup default nightly
26+
run: pacman -Sy rust gcc glibc openssl pkgconf --noconfirm
2927

3028
- name: Clone Project
3129
uses: actions/checkout@v4
@@ -38,4 +36,4 @@ jobs:
3836
- name: Build and Test
3937
run: |
4038
cd rust/
41-
cargo +nightly test
39+
cargo test

rust/aura-pm/src/localization.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ where
165165
let rendered: String = cycle
166166
.iter()
167167
.map(|s| s.as_str())
168-
.intersperse(" => ")
168+
.apply(|iter| itertools::intersperse(iter, " => "))
169169
.collect();
170170

171171
fl!(fll, "dep-cycle", cycle = rendered)

rust/aura-pm/src/main.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
//! along with Aura. If not, see <http://www.gnu.org/licenses/>.
2929
3030
#![warn(missing_docs)]
31-
#![feature(iter_intersperse)]
3231

3332
pub(crate) mod command;
3433
pub(crate) mod dirs;

0 commit comments

Comments
 (0)