Skip to contentSlop Block

no-inline-generic-bounds

Warning

Put generic bounds in a where clause.

fn new<T: Into<String>>(issuer: T) -> Self {Move the bounds of $PARAMETER to a where clause	return Self { issuer: issuer.into() };}
impl<E: std::error::Error> From<SdkError<E>> for ApplicationError {}Move the bounds of $PARAMETER to a where clause
// ast-grep-ignore: no-inline-generic-bounds-rust