mirror of
https://github.com/openharmony/third_party_rust_unicode-width.git
synced 2026-07-19 23:24:44 -04:00
slight doc touch
This commit is contained in:
+2
-2
@@ -20,7 +20,7 @@
|
||||
|
||||
import fileinput, re, os, sys, operator
|
||||
|
||||
preamble = '''// Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT
|
||||
preamble = '''// Copyright 2012-2015 The Rust Project Developers. See the COPYRIGHT
|
||||
// file at the top-level directory of this distribution and at
|
||||
// http://rust-lang.org/COPYRIGHT.
|
||||
//
|
||||
@@ -290,7 +290,7 @@ if __name__ == "__main__":
|
||||
unicode_version = re.search(pattern, readme.read()).groups()
|
||||
rf.write("""
|
||||
/// The version of [Unicode](http://www.unicode.org/)
|
||||
/// that this version of unicode_charwidth is based on.
|
||||
/// that this version of unicode-width is based on.
|
||||
pub const UNICODE_VERSION: (u64, u64, u64) = (%s, %s, %s);
|
||||
|
||||
""" % unicode_version)
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@
|
||||
#![allow(missing_docs, non_upper_case_globals, non_snake_case)]
|
||||
|
||||
/// The version of [Unicode](http://www.unicode.org/)
|
||||
/// that this version of unicode_charwidth is based on.
|
||||
/// that this version of unicode-width is based on.
|
||||
pub const UNICODE_VERSION: (u64, u64, u64) = (7, 0, 0);
|
||||
|
||||
pub mod charwidth {
|
||||
|
||||
Reference in New Issue
Block a user