Fix invalid linker position
This commit is contained in:
parent
9a59d69323
commit
f50bf8636e
3 changed files with 9 additions and 6 deletions
|
@ -228,7 +228,7 @@ impl<'a> fmt::Display for WhereClause<'a> {
|
||||||
}
|
}
|
||||||
|
|
||||||
if end_newline {
|
if end_newline {
|
||||||
//add a space so stripping <br> tags and breaking spaces still renders properly
|
// add a space so stripping <br> tags and breaking spaces still renders properly
|
||||||
if f.alternate() {
|
if f.alternate() {
|
||||||
clause.push(' ');
|
clause.push(' ');
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -1523,8 +1523,7 @@ impl<'a> fmt::Display for Item<'a> {
|
||||||
} else {
|
} else {
|
||||||
write!(fmt, "Module ")?;
|
write!(fmt, "Module ")?;
|
||||||
},
|
},
|
||||||
clean::FunctionItem(..) | clean::ForeignFunctionItem(..) =>
|
clean::FunctionItem(..) | clean::ForeignFunctionItem(..) => write!(fmt, "Function ")?,
|
||||||
write!(fmt, "Function ")?,
|
|
||||||
clean::TraitItem(..) => write!(fmt, "Trait ")?,
|
clean::TraitItem(..) => write!(fmt, "Trait ")?,
|
||||||
clean::StructItem(..) => write!(fmt, "Struct ")?,
|
clean::StructItem(..) => write!(fmt, "Struct ")?,
|
||||||
clean::UnionItem(..) => write!(fmt, "Union ")?,
|
clean::UnionItem(..) => write!(fmt, "Union ")?,
|
||||||
|
@ -1532,8 +1531,7 @@ impl<'a> fmt::Display for Item<'a> {
|
||||||
clean::TypedefItem(..) => write!(fmt, "Type Definition ")?,
|
clean::TypedefItem(..) => write!(fmt, "Type Definition ")?,
|
||||||
clean::MacroItem(..) => write!(fmt, "Macro ")?,
|
clean::MacroItem(..) => write!(fmt, "Macro ")?,
|
||||||
clean::PrimitiveItem(..) => write!(fmt, "Primitive Type ")?,
|
clean::PrimitiveItem(..) => write!(fmt, "Primitive Type ")?,
|
||||||
clean::StaticItem(..) | clean::ForeignStaticItem(..) =>
|
clean::StaticItem(..) | clean::ForeignStaticItem(..) => write!(fmt, "Static ")?,
|
||||||
write!(fmt, "Static ")?,
|
|
||||||
clean::ConstantItem(..) => write!(fmt, "Constant ")?,
|
clean::ConstantItem(..) => write!(fmt, "Constant ")?,
|
||||||
_ => {
|
_ => {
|
||||||
// We don't generate pages for any other type.
|
// We don't generate pages for any other type.
|
||||||
|
|
|
@ -329,6 +329,10 @@ h4 > code, h3 > code, .invisible > code {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.in-band > code {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
#main { position: relative; }
|
#main { position: relative; }
|
||||||
#main > .since {
|
#main > .since {
|
||||||
top: inherit;
|
top: inherit;
|
||||||
|
@ -447,7 +451,8 @@ a {
|
||||||
}
|
}
|
||||||
|
|
||||||
.in-band:hover > .anchor {
|
.in-band:hover > .anchor {
|
||||||
display: initial;
|
display: inline-block;
|
||||||
|
position: absolute;
|
||||||
}
|
}
|
||||||
.anchor {
|
.anchor {
|
||||||
display: none;
|
display: none;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue