Skip to content

Commit 3a95568

Browse files
authored
Dependabot, misc. tweaks (#66)
1 parent 690f134 commit 3a95568

File tree

4 files changed

+14
-3
lines changed

4 files changed

+14
-3
lines changed

.github/dependabot.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "cargo"
4+
directory: "/"
5+
schedule:
6+
interval: "monthly"
7+
open-pull-requests-limit: 10
8+
- package-ecosystem: "github-actions"
9+
directory: "/"
10+
schedule:
11+
interval: "monthly"

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
targets: ${{ matrix.target }}
101101
toolchain: ${{ matrix.toolchain }}
102102
- name: Cache cargo plugins
103-
uses: actions/cache@v1
103+
uses: actions/cache@v4
104104
with:
105105
path: ~/.cargo/bin/
106106
key: ${{ runner.os }}-cargo-plugins

rand_xorshift/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
//!
1111
//! # Example
1212
//!
13-
//! To initialize a generator, use the [`SeedableRng`][rand_core::SeedableRng] trait:
13+
//! To initialize a generator, use the [`SeedableRng`] trait:
1414
//!
1515
//! ```
1616
//! use rand_core::{SeedableRng, RngCore};

rand_xoshiro/src/common.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ pub struct Seed512(pub [u8; 64]);
246246

247247
impl Seed512 {
248248
/// Return an iterator over the seed.
249-
pub fn iter(&self) -> core::slice::Iter<u8> {
249+
pub fn iter(&self) -> core::slice::Iter<'_, u8> {
250250
self.0.iter()
251251
}
252252
}

0 commit comments

Comments
 (0)