File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ pub struct CacheControl {
34
34
}
35
35
36
36
impl CacheControl {
37
- /// Create a new instance of `ServerTiming `.
37
+ /// Create a new instance of `CacheControl `.
38
38
pub fn new ( ) -> Self {
39
39
Self { entries : vec ! [ ] }
40
40
}
@@ -120,7 +120,7 @@ impl<'a> IntoIterator for &'a CacheControl {
120
120
type Item = & ' a CacheDirective ;
121
121
type IntoIter = Iter < ' a > ;
122
122
123
- // #[inline]serv
123
+ #[ inline]
124
124
fn into_iter ( self ) -> Self :: IntoIter {
125
125
self . iter ( )
126
126
}
Original file line number Diff line number Diff line change @@ -21,13 +21,13 @@ pub enum CacheDirective {
21
21
NoCache ,
22
22
/// The response may not be cached.
23
23
NoStore ,
24
- /// An intermediate cache or proxy cannot edit the response body,
24
+ /// An intermediate cache or proxy should not edit the response body,
25
25
/// Content-Encoding, Content-Range, or Content-Type.
26
26
NoTransform ,
27
27
/// Do not use the network for a response.
28
28
OnlyIfCached ,
29
29
/// The response may be stored only by a browser's cache, even if the
30
- /// response is normally non-cacheable
30
+ /// response is normally non-cacheable.
31
31
Private ,
32
32
/// Like must-revalidate, but only for shared caches (e.g., proxies).
33
33
ProxyRevalidate ,
You can’t perform that action at this time.
0 commit comments