diff --git a/precis-core/Cargo.toml b/precis-core/Cargo.toml index 2ef727e..ac68050 100644 --- a/precis-core/Cargo.toml +++ b/precis-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "precis-core" -version = "0.1.9" +version = "0.1.10" authors = ["Santiago Carot-Nemesio "] description = """ PRECIS Framework: Preparation, Enforcement, and Comparison of diff --git a/precis-core/src/stringclasses.rs b/precis-core/src/stringclasses.rs index 958f296..5ed0cbd 100644 --- a/precis-core/src/stringclasses.rs +++ b/precis-core/src/stringclasses.rs @@ -48,7 +48,7 @@ pub trait SpecificDerivedPropertyValue { /// > Else If .`cp`. .in. `Spaces` Then `ID_DIS` or `FREE_PVAL`;\ /// > Else If .`cp`. .in. `Symbols` Then `ID_DIS` or `FREE_PVAL`;\ /// > Else If .`cp`. .in. `Punctuation` Then `ID_DIS` or `FREE_PVAL`;\ -/// > Else DISALLOWED;\ +/// > Else `DISALLOWED`; /// /// # Arguments /// * `cp` - Unicode code point diff --git a/precis-tools/Cargo.toml b/precis-tools/Cargo.toml index b0e3a60..a2f14ce 100644 --- a/precis-tools/Cargo.toml +++ b/precis-tools/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "precis-tools" -version = "0.1.7" +version = "0.1.8" authors = ["Santiago Carot-Nemesio "] description = """ Tools and parsers to generate PRECIS tables from the Unicode Character Database (UCD) diff --git a/precis-tools/src/generators/derived_property.rs b/precis-tools/src/generators/derived_property.rs index f9dd55d..e725745 100644 --- a/precis-tools/src/generators/derived_property.rs +++ b/precis-tools/src/generators/derived_property.rs @@ -44,59 +44,59 @@ impl CodeGen for DerivedPropertyValueGen { )?; writeln!( file, - "/// to be used in specific string classes such as [`IdentifierClass`]" + "/// to be used in specific string classes such as [`IdentifierClass`]" )?; writeln!( file, - "/// and [`FreeformClass`]. PRECIS framework defines two allowed" + "/// and [`FreeformClass`]. PRECIS framework defines two allowed" )?; writeln!( file, - "/// values for above classes (ID_PVAL adn FREE_PVAL). In practice," + "/// values for above classes (ID_PVAL adn FREE_PVAL). In practice," )?; writeln!( file, - "/// the derived property ID_PVAL is not used in this specification," + "/// the derived property ID_PVAL is not used in this specification," )?; writeln!( file, - "/// because every ID_PVAL code point is PVALID, so only FREE_PVAL" + "/// because every ID_PVAL code point is PVALID, so only FREE_PVAL" )?; - writeln!(file, "/// is actually mapped to SpecClassPVal.")?; + writeln!(file, "/// is actually mapped to SpecClassPVal.")?; writeln!( file, "/// * **SpecClassDis** maps to those code points that are not to be" )?; writeln!( file, - "/// included in one of the string classes but that might be permitted" + "/// included in one of the string classes but that might be permitted" )?; writeln!( file, - "/// in others. PRECIS framework defines \"FREE_DIS\" for the" + "/// in others. PRECIS framework defines \"FREE_DIS\" for the" )?; writeln!( file, - "/// [`FreeformClass`] and \"ID_DIS\" for the [`IdentifierClass`]." + "/// [`FreeformClass`] and \"ID_DIS\" for the [`IdentifierClass`]." )?; writeln!( file, - "/// In practice, the derived property FREE_DIS is not used in this" + "/// In practice, the derived property FREE_DIS is not used in this" )?; writeln!( file, - "/// specification, because every FREE_DIS code point is DISALLOWED," + "/// specification, because every FREE_DIS code point is DISALLOWED," )?; - writeln!(file, "/// so only ID_DIS is mapped to SpecClassDis.")?; + writeln!(file, "/// so only ID_DIS is mapped to SpecClassDis.")?; writeln!( file, - "/// Both SpecClassPVal and SpecClassDis values are used to ease" + "/// Both SpecClassPVal and SpecClassDis values are used to ease" )?; writeln!( file, - "/// extension if more classes are added beyond [`IdentifierClass`]" + "/// extension if more classes are added beyond [`IdentifierClass`]" )?; - writeln!(file, "/// and [`FreeformClass`] in the future.")?; + writeln!(file, "/// and [`FreeformClass`] in the future.")?; writeln!(file, "#[derive(Clone, Copy, Debug, PartialEq, Eq)]")?; writeln!(file, "pub enum DerivedPropertyValue {{")?; writeln!(file, "\t/// Value assigned to all those code points that are allowed to be used in any PRECIS string class.")?;