Use consistent formatting for module-level comments.

This commit is contained in:
Dan Gohman
2017-11-08 14:49:27 -08:00
parent e213c2654f
commit ced7a88ecc
8 changed files with 7 additions and 21 deletions

View File

@@ -1,4 +1,3 @@
//! Test command for verifying dominator trees.
//!
//! The `test domtree` test command looks for annotations on instructions like this:

View File

@@ -1,4 +1,3 @@
//! Immediate operands for Cretonne instructions
//!
//! This module defines the types of immediate operands that can appear on Cretonne instructions.

View File

@@ -3,12 +3,6 @@
use std::default::Default;
use std::fmt::{self, Display, Debug, Formatter};
// ====--------------------------------------------------------------------------------------====//
//
// Value types
//
// ====--------------------------------------------------------------------------------------====//
/// The type of an SSA value.
///
/// The `VOID` type is only used for instructions that produce no value. It can't be part of a SIMD

View File

@@ -1,9 +1,4 @@
// ====--------------------------------------------------------------------------------------====//
//
// Lexical analysis for .cton files.
//
// ====--------------------------------------------------------------------------------------====//
//! Lexical analysis for .cton files.
use std::str::CharIndices;
use std::u16;

View File

@@ -1,9 +1,4 @@
// ====--------------------------------------------------------------------------------------====//
//
// Parser for .cton files.
//
// ====--------------------------------------------------------------------------------------====//
//! Parser for .cton files.
use std::collections::HashMap;
use std::str::FromStr;

View File

@@ -1,3 +1,5 @@
//! "Dummy" environment for testing wasm translation.
use environ::{FuncEnvironment, GlobalValue, ModuleEnvironment};
use translation_utils::{Global, Memory, Table, GlobalIndex, TableIndex, SignatureIndex,
FunctionIndex, MemoryIndex};

View File

@@ -1,3 +1,5 @@
//! Support for configurable wasm translation.
mod spec;
mod dummy;

View File

@@ -1,4 +1,4 @@
///! Helper functions and structures for the translation.
//! Helper functions and structures for the translation.
use wasmparser;
use cretonne;
use std::u32;