Skip to content

Commit

Permalink
small clippy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
juntyr committed Oct 30, 2022
1 parent 9516f9d commit 6439713
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "const-type-layout"
description = "Derivable trait to view the layout of a struct, useful for debugging."
version = "0.1.0"
edition = "2021"
authors = ["Momo Langenstein <momo.langenstein@helsinki.fi>", "Lucien Greathouse <me@lpghatguy.com>"]
authors = ["Juniper Langenstein <juniper.langenstein@helsinki.fi>", "Lucien Greathouse <me@lpghatguy.com>"]
documentation = "https://momolangenstein.github.io/const-type-layout/const_type_layout/"
homepage = "https://github.com/MomoLangenstein/const-type-layout"
repository = "https://github.com/MomoLangenstein/const-type-layout"
Expand Down
2 changes: 1 addition & 1 deletion const-type-layout-derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "const-type-layout-derive"
description = "Derive macro implementation for const-type-layout crate"
version = "0.1.0"
edition = "2021"
authors = ["Momo Langenstein <momo.langenstein@helsinki.fi>", "Lucien Greathouse <me@lpghatguy.com>"]
authors = ["Juniper Langenstein <juniper.langenstein@helsinki.fi>", "Lucien Greathouse <me@lpghatguy.com>"]
homepage = "https://github.com/MomoLangenstein/const-type-layout"
license = "MIT OR Apache-2.0"

Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ pub unsafe trait TypeLayout: Sized {
/// It is only safe to implement this trait if it accurately populates the
/// type's layout graph. Use `#[derive(TypeLayout)]` instead.
#[const_trait]
pub unsafe trait TypeGraph: TypeLayout {
pub unsafe trait TypeGraph: ~const TypeLayout {
fn populate_graph(graph: &mut TypeLayoutGraph<'static>);
}

Expand Down
2 changes: 1 addition & 1 deletion try-crate/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "try-crate"
publish = false
version = "0.1.0"
authors = ["Momo Langenstein <momo.langenstein@helsinki.fi>", "Lucien Greathouse <me@lpghatguy.com>"]
authors = ["Juniper Langenstein <juniper.langenstein@helsinki.fi>", "Lucien Greathouse <me@lpghatguy.com>"]
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down

0 comments on commit 6439713

Please sign in to comment.