Skip to content

Commit 28e2d70

Browse files
vcjanalandonxjames
andauthored
Replace enjoys with clearer wording (#4501)
Replaces the non-standard use of `enjoys` in documentation with clearer terms: `has`, `supports`, and `provides` Fixes #4497 Co-authored-by: Landon James <lnj@amazon.com>
1 parent f0546e5 commit 28e2d70

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

design/src/rfcs/rfc0020_service_builder.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ pub struct Router {
240240
}
241241
```
242242

243-
and enjoys the following `Service<http::Request>` implementation:
243+
and has the following `Service<http::Request>` implementation:
244244

245245
```rust,ignore
246246
impl Service<http::Request> for Router

rust-runtime/aws-smithy-http-server/src/instrumentation/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ pub use plugin::*;
6969
pub use service::*;
7070

7171
/// A standard interface for taking some component of the HTTP request/response and transforming it into new struct
72-
/// which enjoys [`Debug`] or [`Display`]. This allows for polymorphism over formatting approaches.
72+
/// which supports [`Debug`] or [`Display`]. This allows for polymorphism over formatting approaches.
7373
pub trait MakeFmt<T> {
7474
/// Target of the `fmt` transformation.
7575
type Target;

rust-runtime/aws-smithy-http-server/src/instrumentation/sensitivity/request.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ use super::{
1919
/// Allows the modification the requests URIs [`Display`](std::fmt::Display) and headers
2020
/// [`Debug`] to accommodate sensitivity.
2121
///
22-
/// This enjoys [`MakeFmt`] for [`&HeaderMap`](HeaderMap) and [`&Uri`](http::Uri).
22+
/// This provides [`MakeFmt`] for [`&HeaderMap`](HeaderMap) and [`&Uri`](http::Uri).
2323
#[derive(Clone)]
2424
pub struct RequestFmt<Headers, Uri> {
2525
headers: Headers,

rust-runtime/aws-smithy-http-server/src/instrumentation/sensitivity/response.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ use super::{
1919
/// Allows the modification the responses status code [`Display`](std::fmt::Display) and headers
2020
/// [`Debug`] to accommodate sensitivity.
2121
///
22-
/// This enjoys [`MakeFmt`] for [`&HeaderMap`](HeaderMap) and [`StatusCode`](http::StatusCode).
22+
/// This provides [`MakeFmt`] for [`&HeaderMap`](HeaderMap) and [`StatusCode`](http::StatusCode).
2323
#[derive(Clone)]
2424
pub struct ResponseFmt<Headers, StatusCode> {
2525
headers: Headers,

rust-runtime/aws-smithy-legacy-http-server/src/instrumentation/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ pub use plugin::*;
6969
pub use service::*;
7070

7171
/// A standard interface for taking some component of the HTTP request/response and transforming it into new struct
72-
/// which enjoys [`Debug`] or [`Display`]. This allows for polymorphism over formatting approaches.
72+
/// which supports [`Debug`] or [`Display`]. This allows for polymorphism over formatting approaches.
7373
pub trait MakeFmt<T> {
7474
/// Target of the `fmt` transformation.
7575
type Target;

0 commit comments

Comments
 (0)