Use code quotes around VMContext in comments.

This commit is contained in:
Dan Gohman
2019-02-22 14:39:04 -08:00
parent 3cc113482d
commit cadead6a86
2 changed files with 7 additions and 7 deletions

View File

@@ -14,7 +14,7 @@ pub enum Export {
address: *const VMFunctionBody,
/// The function signature declaration, used for compatibilty checking.
signature: ir::Signature,
/// Pointer to the containing VMContext.
/// Pointer to the containing `VMContext`.
vmctx: *mut VMContext,
},
@@ -22,7 +22,7 @@ pub enum Export {
Table {
/// The address of the table descriptor.
definition: *mut VMTableDefinition,
/// Pointer to the containing VMContext.
/// Pointer to the containing `VMContext`.
vmctx: *mut VMContext,
/// The table declaration, used for compatibilty checking.
table: TablePlan,
@@ -32,7 +32,7 @@ pub enum Export {
Memory {
/// The address of the memory descriptor.
definition: *mut VMMemoryDefinition,
/// Pointer to the containing VMContext.
/// Pointer to the containing `VMContext`.
vmctx: *mut VMContext,
/// The memory declaration, used for compatibilty checking.
memory: MemoryPlan,
@@ -42,7 +42,7 @@ pub enum Export {
Global {
/// The address of the global storage.
definition: *mut VMGlobalDefinition,
/// Pointer to the containing VMContext.
/// Pointer to the containing `VMContext`.
vmctx: *mut VMContext,
/// The global declaration, used for compatibilty checking.
global: Global,

View File

@@ -12,7 +12,7 @@ pub struct VMFunctionImport {
/// A pointer to the imported function body.
pub body: *const VMFunctionBody,
/// A pointer to the VMContext that owns the function.
/// A pointer to the `VMContext` that owns the function.
pub vmctx: *mut VMContext,
}
@@ -67,7 +67,7 @@ pub struct VMTableImport {
/// A pointer to the imported table description.
pub from: *mut VMTableDefinition,
/// A pointer to the VMContext that owns the table description.
/// A pointer to the `VMContext` that owns the table description.
pub vmctx: *mut VMContext,
}
@@ -104,7 +104,7 @@ pub struct VMMemoryImport {
/// A pointer to the imported memory description.
pub from: *mut VMMemoryDefinition,
/// A pointer to the VMContext that owns the memory description.
/// A pointer to the `VMContext` that owns the memory description.
pub vmctx: *mut VMContext,
}