Skip to content

Commit a892570

Browse files
authored
fix typos
1 parent 6687c9a commit a892570

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ pub enum MatchingLayer {
7777
///
7878
/// Typical usages:
7979
///
80-
/// ## Ommitting content that isn't targeted
80+
/// ## Omitting content that isn't targeted
8181
/// <https://unpoly.com/optimizing-responses#omitting-content-that-isnt-targeted>
8282
///
8383
/// ```
@@ -240,7 +240,7 @@ impl Unpoly {
240240

241241
/// Returns the current mode
242242
///
243-
/// This will return the X-Up-Mode unless succes is false, in which case it will return the X-Up-Fail-Mode
243+
/// This will return the X-Up-Mode unless success is false, in which case it will return the X-Up-Fail-Mode
244244
pub fn mode(&mut self) -> &LayerMode {
245245
if let Some(false) = self.success {
246246
self.response_vary.insert("X-Up-Fail-Mode".to_string());

0 commit comments

Comments
 (0)