Skip to content

Commit 228f2d3

Browse files
committed
chore(docs): fix doc test invalid utf-8
1 parent abbec1e commit 228f2d3

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "auto_encoder"
3-
version = "0.1.1"
3+
version = "0.1.3"
44
edition = "2021"
55
description = "Auto encoding library"
66
repository = "https://github.com/spider-rs/auto-encoder"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ The library supports a wide range of locales and their corresponding encodings,
114114

115115
## Contributing
116116

117-
Contributions are welcome! Please feel free to open an issue or submit a pull request on [GitHub](https://github.com/spider-rs/auto_encoder).
117+
Contributions are welcome! Please feel free to open an issue or submit a pull request on [GitHub](https://github.com/spider-rs/auto-encoder).
118118

119119
## License
120120

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
//! ```rust
2929
//! use auto_encoder::encode_bytes_from_language;
3030
//!
31-
//! let html_content = b"こんにちは、世界!";
31+
//! let html_content = b"\xE3\x81\x93\xE3\x82\x93\xE3\x81\xAB\xE3\x81\xA1\xE3\x81\xAF\xE3\x80\x81\xE4\xB8\x96\xE7\x95\x8C\xEF\xBC\x81";
3232
//! let encoded = encode_bytes_from_language(html_content, "ja");
3333
//! println!("Encoded content: {}", encoded);
3434
//! ```

0 commit comments

Comments
 (0)