Skip to content

Commit 5765e44

Browse files
committed
Fix formatting after linting changes
1 parent 23dbf8d commit 5765e44

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

thoth-export-server/src/marc21/marc21record_thoth.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -465,10 +465,8 @@ fn contributor_fields(contributions: &[WorkContributions]) -> ThothResult<Vec<Fi
465465
.join(", ");
466466

467467
let mut contributor_field = FieldRepr::from((field_code, indicator.as_str()));
468-
contributor_field =
469-
contributor_field.add_subfield(b"a", format!("{name},").as_bytes())?;
470-
contributor_field =
471-
contributor_field.add_subfield(b"e", format!("{roles}.").as_bytes())?;
468+
contributor_field = contributor_field.add_subfield(b"a", format!("{name},").as_bytes())?;
469+
contributor_field = contributor_field.add_subfield(b"e", format!("{roles}.").as_bytes())?;
472470
if let Some(affiliation) = &contributions.first().unwrap().affiliations.first() {
473471
contributor_field = contributor_field.add_subfield(
474472
b"u",

0 commit comments

Comments
 (0)