Skip to content

Commit fae83f1

Browse files
committed
Fix INVALID_COMPONENT referring to the old parameter name ?mode
1 parent 28ead19 commit fae83f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controllers/krate/metadata.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ impl Default for ShowIncludeMode {
251251

252252
impl ShowIncludeMode {
253253
const INVALID_COMPONENT: &'static str =
254-
"invalid component for ?mode= (expected 'versions', 'keywords', 'categories', 'badges', 'downloads', or 'full')";
254+
"invalid component for ?include= (expected 'versions', 'keywords', 'categories', 'badges', 'downloads', or 'full')";
255255
}
256256

257257
impl FromStr for ShowIncludeMode {

0 commit comments

Comments
 (0)