File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 ( ) ) ;
You can’t perform that action at this time.
0 commit comments