Fixes a few doc typos.
This commit is contained in:
parent
f933d31115
commit
aef665aa21
@ -275,14 +275,14 @@ enum CharClassesStatus {
|
||||
LineComment,
|
||||
}
|
||||
|
||||
/// Distinguish between functionnal part of code and comments
|
||||
/// Distinguish between functional part of code and comments
|
||||
#[derive(PartialEq, Eq, Debug, Clone, Copy)]
|
||||
pub enum CodeCharKind {
|
||||
Normal,
|
||||
Comment,
|
||||
}
|
||||
|
||||
/// Distinguish between functionnal part of code and comments,
|
||||
/// Distinguish between functional part of code and comments,
|
||||
/// describing opening and closing of comments for ease when chunking
|
||||
/// code from tagged characters
|
||||
#[derive(PartialEq, Eq, Debug, Clone, Copy)]
|
||||
|
@ -179,7 +179,7 @@ fn visit_fn(&mut self,
|
||||
pub fn visit_item(&mut self, item: &ast::Item) {
|
||||
// This is where we bail out if there is a skip attribute. This is only
|
||||
// complex in the module case. It is complex because the module could be
|
||||
// in a seperate file and there might be attributes in both files, but
|
||||
// in a separate file and there might be attributes in both files, but
|
||||
// the AST lumps them all together.
|
||||
match item.node {
|
||||
ast::ItemKind::Mod(ref m) => {
|
||||
|
@ -33,7 +33,7 @@ fn get_path_string(dir_entry: io::Result<fs::DirEntry>) -> String {
|
||||
|
||||
// Integration tests. The files in the tests/source are formatted and compared
|
||||
// to their equivalent in tests/target. The target file and config can be
|
||||
// overriden by annotations in the source file. The input and output must match
|
||||
// overridden by annotations in the source file. The input and output must match
|
||||
// exactly.
|
||||
// FIXME(#28) would be good to check for error messages and fail on them, or at
|
||||
// least report.
|
||||
|
Loading…
Reference in New Issue
Block a user