Skip to content

Commit 4284aad

Browse files
Fix formatting for tidy
1 parent 0439556 commit 4284aad

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/librustdoc/clean/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -901,7 +901,8 @@ impl Clean<Item> for doctree::Function<'_> {
901901

902902
let did = cx.tcx.hir().local_def_id(self.id);
903903
let constness = if is_const_fn(cx.tcx, did.to_def_id())
904-
&& !is_unstable_const_fn(cx.tcx, did.to_def_id()).is_some() {
904+
&& !is_unstable_const_fn(cx.tcx, did.to_def_id()).is_some()
905+
{
905906
hir::Constness::Const
906907
} else {
907908
hir::Constness::NotConst

0 commit comments

Comments
 (0)