Skip to content

Commit

Permalink
Remove extra comma
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Jan 12, 2024
1 parent 3a2ccfe commit b0dd341
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pin-project-internal/src/pinned_drop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ fn validate_sig(sig: &Signature) -> Result<()> {
const INVALID_ARGUMENT: &str = "method `drop` must take an argument `self: Pin<&mut Self>`";

if sig.ident != "drop" {
bail!(sig.ident, "method `{}` is not a member of trait `PinnedDrop", sig.ident,);
bail!(sig.ident, "method `{}` is not a member of trait `PinnedDrop", sig.ident);
}

if let ReturnType::Type(_, ty) = &sig.output {
Expand Down

0 comments on commit b0dd341

Please sign in to comment.