Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 631cce0

Browse files
author
Tyera Eulberg
authored
Bump rust versions (#2978)
* Bump rust versions * clippy: unnecessary use of to_vec
1 parent bbbf250 commit 631cce0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ci/rust-version.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818
if [[ -n $RUST_STABLE_VERSION ]]; then
1919
stable_version="$RUST_STABLE_VERSION"
2020
else
21-
stable_version=1.57.0
21+
stable_version=1.59.0
2222
fi
2323

2424
if [[ -n $RUST_NIGHTLY_VERSION ]]; then
2525
nightly_version="$RUST_NIGHTLY_VERSION"
2626
else
27-
nightly_version=2021-12-03
27+
nightly_version=2022-02-24
2828
fi
2929

3030

name-service/program/src/state.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,13 @@ pub fn get_seeds_and_key(
7474

7575
let name_class = name_class_opt.cloned().unwrap_or_default();
7676

77-
for b in name_class.to_bytes().to_vec() {
77+
for b in name_class.to_bytes() {
7878
seeds_vec.push(b);
7979
}
8080

8181
let parent_name_address = parent_name_address_opt.cloned().unwrap_or_default();
8282

83-
for b in parent_name_address.to_bytes().to_vec() {
83+
for b in parent_name_address.to_bytes() {
8484
seeds_vec.push(b);
8585
}
8686

0 commit comments

Comments
 (0)