Skip to content

Commit 38ae969

Browse files
committed
chore: update MSRV to 1.82 and fix formatting
1 parent 37ff387 commit 38ae969

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
name: Build
99
strategy:
1010
matrix:
11-
rust-version: ['1.74', 'stable']
11+
rust-version: ['1.82', 'stable']
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Repository Checkout

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "parrot"
33
version = "1.6.0"
44
authors = ["aquelemiguel"]
55
edition = "2021"
6-
rust-version = "1.74"
6+
rust-version = "1.82"
77
description = "A Discord music bot built in Rust"
88
repository = "https://github.com/aquelemiguel/parrot"
99
license = "MIT"

src/guild/settings.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ pub struct GuildSettings {
3131
}
3232

3333
fn default_allowed_domains() -> HashSet<String> {
34-
DEFAULT_ALLOWED_DOMAINS.iter().map(|d| d.to_string()).collect()
34+
DEFAULT_ALLOWED_DOMAINS
35+
.iter()
36+
.map(|d| d.to_string())
37+
.collect()
3538
}
3639

3740
impl GuildSettings {

0 commit comments

Comments
 (0)