Update Rust toolchain to 1.83 in CI #235
2
src/external/database/serde/deserialize.rs
vendored
2
src/external/database/serde/deserialize.rs
vendored
@ -82,7 +82,7 @@ impl From<DeserializeMbid> for Mbid {
|
|||||||
|
|
||||||
struct DeserializeMbidVisitor;
|
struct DeserializeMbidVisitor;
|
||||||
|
|
||||||
impl<'de> Visitor<'de> for DeserializeMbidVisitor {
|
impl Visitor<'_> for DeserializeMbidVisitor {
|
||||||
type Value = DeserializeMbid;
|
type Value = DeserializeMbid;
|
||||||
|
|
||||||
fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
|
fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
|
||||||
|
2
src/external/database/serde/serialize.rs
vendored
2
src/external/database/serde/serialize.rs
vendored
@ -59,7 +59,7 @@ impl<'a, T: IMusicBrainzRef> From<&'a MbRefOption<T>> for SerializeMbRefOption<'
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> Serialize for SerializeMbid<'a> {
|
impl Serialize for SerializeMbid<'_> {
|
||||||
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
|
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
|
||||||
where
|
where
|
||||||
S: serde::Serializer,
|
S: serde::Serializer,
|
||||||
|
4
src/external/musicbrainz/api/mod.rs
vendored
4
src/external/musicbrainz/api/mod.rs
vendored
@ -199,7 +199,7 @@ impl From<SerdeMbid> for Mbid {
|
|||||||
|
|
||||||
struct SerdeMbidVisitor;
|
struct SerdeMbidVisitor;
|
||||||
|
|
||||||
impl<'de> Visitor<'de> for SerdeMbidVisitor {
|
impl Visitor<'_> for SerdeMbidVisitor {
|
||||||
type Value = SerdeMbid;
|
type Value = SerdeMbid;
|
||||||
|
|
||||||
fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
|
fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
|
||||||
@ -237,7 +237,7 @@ impl From<SerdeAlbumDate> for AlbumDate {
|
|||||||
|
|
||||||
struct SerdeAlbumDateVisitor;
|
struct SerdeAlbumDateVisitor;
|
||||||
|
|
||||||
impl<'de> Visitor<'de> for SerdeAlbumDateVisitor {
|
impl Visitor<'_> for SerdeAlbumDateVisitor {
|
||||||
type Value = SerdeAlbumDate;
|
type Value = SerdeAlbumDate;
|
||||||
|
|
||||||
fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
|
fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
|
||||||
|
@ -14,7 +14,7 @@ pub enum SearchArtist<'a> {
|
|||||||
String(&'a str),
|
String(&'a str),
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> fmt::Display for SearchArtist<'a> {
|
impl fmt::Display for SearchArtist<'_> {
|
||||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||||
match self {
|
match self {
|
||||||
Self::String(s) => write!(f, "\"{s}\""),
|
Self::String(s) => write!(f, "\"{s}\""),
|
||||||
|
2
src/external/musicbrainz/api/search/query.rs
vendored
2
src/external/musicbrainz/api/search/query.rs
vendored
@ -228,7 +228,7 @@ mod tests {
|
|||||||
String(&'a str),
|
String(&'a str),
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> fmt::Display for TestEntity<'a> {
|
impl fmt::Display for TestEntity<'_> {
|
||||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||||
match self {
|
match self {
|
||||||
Self::String(s) => write!(f, "\"{s}\""),
|
Self::String(s) => write!(f, "\"{s}\""),
|
||||||
|
@ -21,7 +21,7 @@ pub enum SearchReleaseGroup<'a> {
|
|||||||
Rgid(&'a Mbid),
|
Rgid(&'a Mbid),
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> fmt::Display for SearchReleaseGroup<'a> {
|
impl fmt::Display for SearchReleaseGroup<'_> {
|
||||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||||
match self {
|
match self {
|
||||||
Self::String(s) => write!(f, "\"{s}\""),
|
Self::String(s) => write!(f, "\"{s}\""),
|
||||||
|
@ -214,7 +214,7 @@ mod tests {
|
|||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
// Automock does not support returning types with generic lifetimes.
|
// Automock does not support returning types with generic lifetimes.
|
||||||
impl<'app> IAppAccess for AppPublic<'app> {
|
impl IAppAccess for AppPublic<'_> {
|
||||||
fn get(&mut self) -> AppPublic {
|
fn get(&mut self) -> AppPublic {
|
||||||
AppPublic {
|
AppPublic {
|
||||||
inner: AppPublicInner {
|
inner: AppPublicInner {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user