Skip to content

Commit 0a30071

Browse files
committed
fix tense + bump salvo
1 parent 2769394 commit 0a30071

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ ntex = { version = "2", default-features = false, optional = true }
5959
poem = { version = "3", default-features = false, optional = true }
6060
rocket = { version = "0.5", default-features = false, optional = true }
6161
ryu = { version = "1", optional = true }
62-
salvo_core = { version = "0.81", default-features = false, optional = true }
62+
salvo_core = { version = "0.82", default-features = false, optional = true }
6363
tide = { version = "0.16", default-features = false, optional = true }
6464
warp = { version = "0.4", default-features = false, optional = true }
6565

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,4 +286,4 @@ macro_rules! const_precise_live_drops_hack {
286286
(&raw const (*(&raw const this).cast::<Self>()).$field).read()
287287
}};
288288
}
289-
pub(crate) use const_precise_live_drops_hack;
289+
use const_precise_live_drops_hack;

src/macros/alloc.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ extern crate alloc;
8989
/// ```
9090
#[cfg_attr(all(docsrs, not(doctest)), doc(cfg(feature = "alloc")))]
9191
pub use hypertext_macros::Renderable;
92-
/// Generate an attribute value, returning a
92+
/// Generates an attribute value, returning a
9393
/// [`LazyAttribute`](crate::LazyAttribute).
9494
///
9595
/// # Example
@@ -106,7 +106,7 @@ pub use hypertext_macros::Renderable;
106106
/// ```
107107
#[cfg_attr(all(docsrs, not(doctest)), doc(cfg(feature = "alloc")))]
108108
pub use hypertext_macros::attribute;
109-
/// Generate an attribute value, borrowing the environment.
109+
/// Generates an attribute value, borrowing the environment.
110110
///
111111
/// This is identical to [`attribute!`], except that it does not take
112112
/// ownership of the environment. This is useful when you want to build
@@ -115,7 +115,7 @@ pub use hypertext_macros::attribute;
115115
/// invocation.
116116
#[cfg_attr(all(docsrs, not(doctest)), doc(cfg(feature = "alloc")))]
117117
pub use hypertext_macros::attribute_borrow;
118-
/// Generate HTML using Maud syntax, returning a [`Lazy`](crate::Lazy).
118+
/// Generates HTML using Maud syntax, returning a [`Lazy`](crate::Lazy).
119119
///
120120
/// Note that this is not a complete 1:1 port of [Maud](https://maud.lambda.xyz)'s
121121
/// syntax as it is stricter in some cases to prevent anti-patterns.
@@ -179,15 +179,15 @@ pub use hypertext_macros::attribute_borrow;
179179
/// ```
180180
#[cfg_attr(all(docsrs, not(doctest)), doc(cfg(feature = "alloc")))]
181181
pub use hypertext_macros::maud;
182-
/// Generate HTML using [`maud!`] syntax, borrowing the environment.
182+
/// Generates HTML using [`maud!`] syntax, borrowing the environment.
183183
///
184184
/// This is identical to [`maud!`], except that it does not take ownership
185185
/// of the environment. This is useful when you want to build a
186186
/// [`Lazy`](crate::Lazy) using some captured variables, but you still want to
187187
/// be able to use the captured variables after the invocation.
188188
#[cfg_attr(all(docsrs, not(doctest)), doc(cfg(feature = "alloc")))]
189189
pub use hypertext_macros::maud_borrow;
190-
/// Convert a function returning a [`Renderable`](crate::Renderable) into a
190+
/// Turns a function returning a [`Renderable`](crate::Renderable) into a
191191
/// struct that implements [`Renderable`](crate::Renderable).
192192
///
193193
/// This macro generates a struct that has fields corresponding to the
@@ -243,7 +243,7 @@ pub use hypertext_macros::maud_borrow;
243243
/// ```
244244
#[cfg_attr(all(docsrs, not(doctest)), doc(cfg(feature = "alloc")))]
245245
pub use hypertext_macros::renderable;
246-
/// Generate HTML using rsx syntax, returning a [`Lazy`](crate::Lazy).
246+
/// Generates HTML using rsx syntax, returning a [`Lazy`](crate::Lazy).
247247
///
248248
/// # Examples
249249
///
@@ -291,7 +291,7 @@ pub use hypertext_macros::renderable;
291291
/// ```
292292
#[cfg_attr(all(docsrs, not(doctest)), doc(cfg(feature = "alloc")))]
293293
pub use hypertext_macros::rsx;
294-
/// Generate HTML using [`rsx!`] syntax, borrowing the environment.
294+
/// Generates HTML using [`rsx!`] syntax, borrowing the environment.
295295
///
296296
/// This is identical to [`rsx!`], except that it does not take ownership of
297297
/// the environment. This is useful when you want to build a

0 commit comments

Comments
 (0)