Skip to content

Commit 5af003e

Browse files
Apply suggestion from @GuillaumeGomez
Co-authored-by: Guillaume Gomez <guillaume1.gomez@gmail.com>
1 parent 40c5428 commit 5af003e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/librustdoc/display.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,7 @@ impl<T: Display> Wrapper<T> {
101101
fmt::from_fn(move |f| {
102102
self.prefix.fmt(f)?;
103103
content(f)?;
104-
self.suffix.fmt(f)?;
105-
Ok(())
104+
self.suffix.fmt(f)
106105
})
107106
}
108107

0 commit comments

Comments
 (0)