From 6ca19211614d65c9072b9c436be8b37233069a22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=B5=D0=BD=D0=B8=D1=81=20=D0=9A=D0=BE=D1=82=D0=BB?= =?UTF-8?q?=D1=8F=D1=80=D0=BE=D0=B2?= Date: Wed, 8 May 2024 00:48:48 +0300 Subject: [PATCH] 1. Minor update --- README.md | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6b0c847..805a765 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ use core::ffi::CStr; ``` ## Example: -``` +```rust use cluCStr::cstr; use core::ffi::CStr; diff --git a/src/lib.rs b/src/lib.rs index 8b2c6eb..b6949f5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -28,7 +28,7 @@ Safe and efficient creation of "CStr" with zero-byte checking and support for co You can use `c"wow"` since Rust 1.77.0 instead of `cstr!("wow")` from this crate. This new feature provides more concise code and faster compilation. If you are using an older Rust API (like 1.66), this crate will still be relevant for some time. ## Example: -``` +```rust use cluCStr::cstr; use core::ffi::CStr;