Skip to content

Commit 7a82288

Browse files
committed
docs tweak
1 parent 4e6d88d commit 7a82288

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

actix-service/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
33
#![no_std]
44
#![deny(rust_2018_idioms, nonstandard_style)]
5+
#![warn(missing_docs)]
56
#![allow(clippy::type_complexity)]
67
#![doc(html_logo_url = "https://actix.rs/img/logo.png")]
78
#![doc(html_favicon_url = "https://actix.rs/favicon.ico")]
@@ -59,7 +60,7 @@ use self::ready::{err, ok, ready, Ready};
5960
/// response type.
6061
///
6162
/// Services can also have mutable state that influence computation by using a `Cell`, `RefCell`
62-
/// or `Mutex`. Services intentionally do not take `&mut self` to reduce over-head in the
63+
/// or `Mutex`. Services intentionally do not take `&mut self` to reduce overhead in the
6364
/// common cases.
6465
///
6566
/// `Service` provides a symmetric and uniform API; the same abstractions can be used to represent

actix-service/src/macros.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
/// A boilerplate implementation of [`Service::poll_ready`] that always signals readiness.
1+
/// An implementation of [`poll_ready`]() that always signals readiness.
22
///
3-
/// [`Service::poll_ready`]: crate::Service::poll_ready
3+
/// [`poll_ready`]: crate::Service::poll_ready
44
///
55
/// # Examples
66
/// ```no_run
@@ -34,12 +34,12 @@ macro_rules! always_ready {
3434
};
3535
}
3636

37-
/// A boilerplate implementation of [`Service::poll_ready`] that forwards readiness checks to a
37+
/// An implementation of [`poll_ready`] that forwards readiness checks to a
3838
/// named struct field.
3939
///
4040
/// Tuple structs are not supported.
4141
///
42-
/// [`Service::poll_ready`]: crate::Service::poll_ready
42+
/// [`poll_ready`]: crate::Service::poll_ready
4343
///
4444
/// # Examples
4545
/// ```no_run

0 commit comments

Comments
 (0)