summaryrefslogtreecommitdiffstats
path: root/src/librustdoc/theme.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/librustdoc/theme.rs')
-rw-r--r--src/librustdoc/theme.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/theme.rs b/src/librustdoc/theme.rs
index e7a26cb34..722e01cd1 100644
--- a/src/librustdoc/theme.rs
+++ b/src/librustdoc/theme.rs
@@ -241,7 +241,7 @@ pub(crate) fn test_theme_against<P: AsRef<Path>>(
{
Ok(c) => c,
Err(e) => {
- diag.struct_err(&e).emit();
+ diag.struct_err(e).emit();
return (false, vec![]);
}
};