blob: 139d726f29a9ab07a12da0fc1c0c83fb3d04c456 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
pub mod byte_string;
pub mod code_point_string;
pub mod unicode_string;
pub use byte_string::*;
pub use code_point_string::*;
pub use unicode_string::*;
/// Mirror of Symfony's `b()` helper function.
pub fn b(string: &str) -> ByteString {
ByteString::new(string)
}
/// Mirror of Symfony's `u()` helper function.
pub fn s(string: &str) -> UnicodeString {
UnicodeString::new(string)
}
|