diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-05-02 18:27:52 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-02 18:27:52 +0200 |
| commit | 97cf378f543813aeb3a87551915737a136d64aec (patch) | |
| tree | 492a197387d06080f4e694de6a8c058c01cd62ea /src/librustc_codegen_ssa | |
| parent | 5a7b21fabaed7a5fe4b2c89baf58271f82808b4a (diff) | |
| parent | 3be52b594114bcc813e0d7c901f719526fb0b601 (diff) | |
Rollup merge of #71787 - tshepang:rustdoc-warnings, r=varkor
fix rustdoc warnings
Diffstat (limited to 'src/librustc_codegen_ssa')
| -rw-r--r-- | src/librustc_codegen_ssa/traits/declare.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_codegen_ssa/traits/declare.rs b/src/librustc_codegen_ssa/traits/declare.rs index de63ef79613..690aacd2056 100644 --- a/src/librustc_codegen_ssa/traits/declare.rs +++ b/src/librustc_codegen_ssa/traits/declare.rs @@ -31,7 +31,7 @@ pub trait DeclareMethods<'tcx>: BackendTypes { /// Use this function when you intend to define a global. This function will /// return `None` if the name already has a definition associated with it. In that /// case an error should be reported to the user, because it usually happens due - /// to user’s fault (e.g., misuse of #[no_mangle] or #[export_name] attributes). + /// to user’s fault (e.g., misuse of `#[no_mangle]` or `#[export_name]` attributes). fn define_global(&self, name: &str, ty: Self::Type) -> Option<Self::Value>; /// Declare a private global |
