Skip to content

Commit

Permalink
Minor doc touch-up
Browse files Browse the repository at this point in the history
  • Loading branch information
robklg committed Dec 24, 2023
1 parent e1c4621 commit 9d08b36
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/unftp-auth-rest/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ impl Builder {
/// ```
///
/// In the example above, `"{USER}"` within the body template is replaced with the actual FTP username during request
/// preparation. If the placeholder configuration is not set, any `"{USER}"` text would stay unreplaced in the request.
/// preparation. If the placeholder configuration is not set, any `{USER}` text would stay unreplaced in the request.
pub fn with_username_placeholder(mut self, s: String) -> Self {
self.username_placeholder = s;
self
Expand All @@ -112,7 +112,7 @@ impl Builder {
/// ```
///
/// In the example above, "{PASS}" within the body template is replaced with the actual FTP password during request
/// preparation. If the placeholder configuration is not set, any "{PASS}" text would stay unreplaced in the request.
/// preparation. If the placeholder configuration is not set, any `{PASS}` text would stay unreplaced in the request.
pub fn with_password_placeholder(mut self, s: String) -> Self {
self.password_placeholder = s;
self
Expand All @@ -138,7 +138,7 @@ impl Builder {
/// ```
///
/// In the example above, "{IP}" within the body template is replaced with the actual source IP of the FTP client
/// during request preparation. If the placeholder configuration is not set, any "{IP}" text would stay unreplaced
/// during request preparation. If the placeholder configuration is not set, any `{IP}` text would stay unreplaced
/// in the request.
pub fn with_source_ip_placeholder(mut self, s: String) -> Self {
self.source_ip_placeholder = s;
Expand Down

0 comments on commit 9d08b36

Please sign in to comment.