Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix cargo-doc build on nightly #3967

Merged
merged 1 commit into from
Apr 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/relayer-cli/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

#![forbid(unsafe_code)]
#![deny(rust_2018_idioms, trivial_casts, unused_lifetimes)]
#![allow(deprecated)]
#![allow(deprecated, unknown_lints, non_local_definitions)]

extern crate alloc;

Expand Down
7 changes: 2 additions & 5 deletions crates/relayer-types/src/core/ics03_connection/connection.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
use std::fmt::{Display, Error as FmtError, Formatter};
use std::str::FromStr;
use std::time::Duration;
use std::{
fmt::{Display, Error as FmtError, Formatter},
u64,
};

use ibc_proto::Protobuf;
use serde::{Deserialize, Serialize};
Expand Down Expand Up @@ -388,6 +385,6 @@ impl TryFrom<i32> for State {

impl From<State> for i32 {
fn from(value: State) -> Self {
value.into()
value as i32
}
}
Loading