Skip to content

Commit

Permalink
lint: Rust 1.82
Browse files Browse the repository at this point in the history
  • Loading branch information
jjbayer committed Oct 18, 2024
1 parent b4255aa commit e8d8386
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions relay-config/src/redis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ pub enum RedisConfigRef<'a> {
}

/// Helper struct bundling connections and options for the various Redis pools.
#[allow(clippy::large_enum_variant)]
#[derive(Clone, Debug)]
pub enum RedisPoolConfigs<'a> {
/// Use one pool for everything.
Expand Down
2 changes: 1 addition & 1 deletion relay-ffi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ pub fn take_last_error() -> Option<anyhow::Error> {
pub struct Panic(String);

impl Panic {
fn new(info: &panic::PanicInfo) -> Self {
fn new(info: &panic::PanicHookInfo) -> Self {
let thread = thread::current();
let thread = thread.name().unwrap_or("unnamed");

Expand Down

0 comments on commit e8d8386

Please sign in to comment.