Skip to content

Commit c661e7c

Browse files
committed
Rename compact_cow_str.rs to cow_rc_str.rs
1 parent 8b7191b commit c661e7c

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed
File renamed without changes.

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ pub use nth::parse_nth;
9191
pub use serializer::{ToCss, CssStringWriter, serialize_identifier, serialize_string, TokenSerializationType};
9292
pub use parser::{Parser, Delimiter, Delimiters, SourcePosition, ParseError, BasicParseError, ParserInput};
9393
pub use unicode_range::UnicodeRange;
94-
pub use compact_cow_str::CowRcStr;
94+
pub use cow_rc_str::CowRcStr;
9595

9696
// For macros
9797
#[doc(hidden)] pub use macros::_internal__to_lowercase;
@@ -117,7 +117,7 @@ mod color;
117117
mod nth;
118118
mod serializer;
119119
mod unicode_range;
120-
mod compact_cow_str;
120+
mod cow_rc_str;
121121

122122
#[cfg(test)] mod tests;
123123
#[cfg(test)] mod size_of_tests;

src/parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* License, v. 2.0. If a copy of the MPL was not distributed with this
33
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
44

5-
use compact_cow_str::CowRcStr;
5+
use cow_rc_str::CowRcStr;
66
use std::ops::Range;
77
use std::ascii::AsciiExt;
88
use std::ops::BitOr;

src/rules_and_declarations.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
// https://drafts.csswg.org/css-syntax/#parsing
66

7-
use compact_cow_str::CowRcStr;
7+
use cow_rc_str::CowRcStr;
88
use parser::{parse_until_before, parse_until_after, parse_nested_block};
99
use std::ascii::AsciiExt;
1010
use std::ops::Range;

src/size_of_tests.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* License, v. 2.0. If a copy of the MPL was not distributed with this
33
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
44

5-
use compact_cow_str::CowRcStr;
5+
use cow_rc_str::CowRcStr;
66
use std::borrow::Cow;
77
use tokenizer::Token;
88

@@ -34,4 +34,4 @@ macro_rules! size_of_test {
3434
// These assume 64-bit
3535
size_of_test!(token, Token, 32);
3636
size_of_test!(std_cow_str, Cow<'static, str>, 32);
37-
size_of_test!(compact_cow_str, CowRcStr, 16);
37+
size_of_test!(cow_rc_str, CowRcStr, 16);

src/tokenizer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use std::char;
1010
use std::ascii::AsciiExt;
1111
use std::i32;
1212

13-
use compact_cow_str::CowRcStr;
13+
use cow_rc_str::CowRcStr;
1414
use self::Token::*;
1515

1616

0 commit comments

Comments
 (0)