Fix some comments
Signed-off-by: zhetaicheleba <taicheleba@outlook.com>
This commit is contained in:
@@ -302,7 +302,7 @@ pub(crate) trait CombineAttributeParser<S: Stage>: 'static {
|
||||
type Item;
|
||||
/// A function that converts individual items (of type [`Item`](Self::Item)) into the final attribute.
|
||||
///
|
||||
/// For example, individual representations fomr `#[repr(...)]` attributes into an `AttributeKind::Repr(x)`,
|
||||
/// For example, individual representations from `#[repr(...)]` attributes into an `AttributeKind::Repr(x)`,
|
||||
/// where `x` is a vec of these individual reprs.
|
||||
const CONVERT: ConvertFn<Self::Item>;
|
||||
|
||||
|
||||
@@ -289,7 +289,7 @@ enum NodeState<N, S, A: Annotation> {
|
||||
#[derive(Copy, Clone, Debug)]
|
||||
enum WalkReturn<S, A: Annotation> {
|
||||
/// The walk found a cycle, but the entire component is not known to have
|
||||
/// been fully walked yet. We only know the minimum depth of this
|
||||
/// been fully walked yet. We only know the minimum depth of this
|
||||
/// component in a minimum spanning tree of the graph. This component
|
||||
/// is tentatively represented by the state of the first node of this
|
||||
/// cycle we met, which is at `min_depth`.
|
||||
|
||||
@@ -21,7 +21,7 @@ bitflags! {
|
||||
const GENERALIZE_REPR_C = 2;
|
||||
/// Normalizes integers for compatibility with Clang
|
||||
/// `-fsanitize-cfi-icall-experimental-normalize-integers` option for cross-language LLVM
|
||||
/// CFI and KCFI support.
|
||||
/// CFI and KCFI support.
|
||||
const NORMALIZE_INTEGERS = 4;
|
||||
/// Do not perform self type erasure for attaching a secondary type id to methods with their
|
||||
/// concrete self so they can be used as function pointers.
|
||||
|
||||
@@ -309,7 +309,7 @@ impl<'tcx> TypeErrCtxt<'_, 'tcx> {
|
||||
pub struct OnUnimplementedFormatString {
|
||||
/// Symbol of the format string, i.e. `"content"`
|
||||
symbol: Symbol,
|
||||
///The span of the format string, i.e. `"content"`
|
||||
/// The span of the format string, i.e. `"content"`
|
||||
span: Span,
|
||||
is_diagnostic_namespace_variant: bool,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user