Skip to content

Commit 3af9864

Browse files
authored
Apply suggestions from code review
1 parent be286d5 commit 3af9864

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cache/cache_control/cache_directive.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ impl CacheDirective {
5353
}
5454

5555
/// Check whether this directive is valid in an HTTP response.
56-
pub fn is_res(&self) -> bool {
56+
pub fn valid_in_res(&self) -> bool {
5757
use CacheDirective::*;
5858
matches!(self,
5959
MustRevalidate

0 commit comments

Comments
 (0)