Skip to content

Commit 2a8688e

Browse files
Changes for running tests on nightly. (#2746)
1 parent 2abf5bf commit 2a8688e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

linera-sdk/src/log.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// SPDX-License-Identifier: Apache-2.0
33

44
use std::{
5-
panic::{self, PanicInfo},
5+
panic::{self, PanicHookInfo},
66
sync::Once,
77
};
88

@@ -70,6 +70,6 @@ impl Log for ServiceLogger {
7070
}
7171

7272
/// Logs a panic using the [`log`] API.
73-
fn log_panic(info: &PanicInfo<'_>) {
73+
fn log_panic(info: &PanicHookInfo<'_>) {
7474
log::error!("{info}");
7575
}

linera-views/src/views/map_view.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1988,6 +1988,7 @@ mod graphql {
19881988
}
19891989
}
19901990

1991+
/// The tests for `Borrow` and `bcs`.
19911992
#[cfg(test)]
19921993
pub mod tests {
19931994
use std::borrow::Borrow;

0 commit comments

Comments
 (0)