Bless tidy
This commit is contained in:
parent
8af42f695d
commit
904dd2c398
8 changed files with 11 additions and 11 deletions
|
@ -1621,7 +1621,7 @@ impl<'a> Linker for AixLinker<'a> {
|
|||
let path = tmpdir.join("list.exp");
|
||||
let res: io::Result<()> = try {
|
||||
let mut f = BufWriter::new(File::create(&path)?);
|
||||
// TODO: use llvm-nm to generate export list.
|
||||
// FIXME: use llvm-nm to generate export list.
|
||||
for symbol in symbols {
|
||||
debug!(" _{}", symbol);
|
||||
writeln!(f, " {}", symbol)?;
|
||||
|
|
|
@ -16,7 +16,8 @@ or causing an integer overflow are two ways to induce this error.
|
|||
Ensure that the expressions given can be evaluated as the desired integer type.
|
||||
|
||||
See the [Discriminants] section of the Reference for more information about
|
||||
setting custom integer types on enums using the [`repr` attribute][repr-attribute].
|
||||
setting custom integer types on enums using the
|
||||
[`repr` attribute][repr-attribute].
|
||||
|
||||
[discriminants]: https://doc.rust-lang.org/reference/items/enumerations.html#discriminants
|
||||
[repr-attribute]: https://doc.rust-lang.org/reference/type-layout.html#representations
|
||||
|
|
|
@ -59,6 +59,6 @@ In the definition of `bar`, the lifetime parameter `'a` is late-bound, while
|
|||
where `'a` is universally quantified and `'b` is substituted by a specific
|
||||
lifetime. It is not allowed to explicitly specify early-bound lifetime
|
||||
arguments when late-bound lifetime parameters are present (as for `bar_fn2`,
|
||||
see [issue #42868](https://github.com/rust-lang/rust/issues/42868)), although the
|
||||
types that are constrained by early-bound parameters can be specified (as for
|
||||
`bar_fn3`).
|
||||
see [issue #42868](https://github.com/rust-lang/rust/issues/42868)), although
|
||||
the types that are constrained by early-bound parameters can be specified (as
|
||||
for `bar_fn3`).
|
||||
|
|
|
@ -213,7 +213,7 @@ See the [Clang ControlFlowIntegrity documentation][clang-cfi] for more details.
|
|||
|
||||
## Example
|
||||
|
||||
```rust,ignore
|
||||
```rust,ignore (making doc tests pass cross-platform is hard)
|
||||
#![feature(naked_functions)]
|
||||
|
||||
use std::arch::asm;
|
||||
|
|
|
@ -8,4 +8,3 @@ pub enum MyThing {
|
|||
#[doc(hidden)]
|
||||
NotShown,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue