workspace/rust: 1.90 → 1.95
The update to `flake.lock` is a simple
nix flake update rust-overlay
to be able to reach 1.95.
This commit is contained in:
parent
9ea040ccd0
commit
420af3b710
|
|
@ -127,7 +127,7 @@ fn list_all<'a>(
|
|||
storage,
|
||||
profile,
|
||||
)?;
|
||||
vstacks.extend(vstack.into_iter());
|
||||
vstacks.extend(vstack);
|
||||
}
|
||||
Ok(vstacks)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1289,7 +1289,7 @@ fn test_persistent_peer_reconnect_success() {
|
|||
#[test]
|
||||
fn test_maintain_connections() {
|
||||
// Peers alice starts out connected to.
|
||||
let connected = vec![
|
||||
let connected = [
|
||||
Peer::new("connected", [8, 8, 8, 1]),
|
||||
Peer::new("connected", [8, 8, 8, 2]),
|
||||
Peer::new("connected", [8, 8, 8, 3]),
|
||||
|
|
@ -1338,7 +1338,7 @@ fn test_maintain_connections() {
|
|||
#[test]
|
||||
fn test_maintain_connections_transient() {
|
||||
// Peers alice starts out connected to.
|
||||
let connected = vec![
|
||||
let connected = [
|
||||
Peer::new("connected", [8, 8, 8, 1]),
|
||||
Peer::new("connected", [8, 8, 8, 2]),
|
||||
Peer::new("connected", [8, 8, 8, 3]),
|
||||
|
|
|
|||
|
|
@ -290,7 +290,7 @@ fn bump(db: &sql::Connection) -> Result<usize, Error> {
|
|||
|
||||
db.execute(format!("PRAGMA user_version = {new}"))?;
|
||||
|
||||
Ok(new as usize)
|
||||
Ok(new)
|
||||
}
|
||||
|
||||
/// Update a COB object in the cache.
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ pub trait Cob: Sized {
|
|||
};
|
||||
let mut state = Self::from_root(init, repo)?;
|
||||
for op in ops {
|
||||
state.op(op, [].into_iter(), repo)?;
|
||||
state.op(op, [], repo)?;
|
||||
}
|
||||
Ok(state)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -220,7 +220,7 @@ pub fn bump(db: &sql::Connection) -> Result<usize, Error> {
|
|||
|
||||
db.execute(format!("PRAGMA user_version = {new}"))?;
|
||||
|
||||
Ok(new as usize)
|
||||
Ok(new)
|
||||
}
|
||||
|
||||
/// Migrate the database to the latest schema.
|
||||
|
|
|
|||
|
|
@ -161,11 +161,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1771384185,
|
||||
"narHash": "sha256-KvmjUeA7uODwzbcQoN/B8DCZIbhT/Q/uErF1BBMcYnw=",
|
||||
"lastModified": 1778210054,
|
||||
"narHash": "sha256-iYINsX0BVDxTXd0z4FzDpBYHZ9fWUtwjG9cKSXwe9Tg=",
|
||||
"owner": "oxalica",
|
||||
"repo": "rust-overlay",
|
||||
"rev": "23dd7fa91602a68bd04847ac41bc10af1e6e2fd2",
|
||||
"rev": "bc83d66023d19fb301ee98772643b24b6129ef48",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
[toolchain]
|
||||
channel = "1.90"
|
||||
channel = "1.95"
|
||||
profile = "default"
|
||||
components = [ "rust-src" ]
|
||||
|
|
|
|||
Loading…
Reference in New Issue