doc: check_expected_download

This commit is contained in:
Joonas Koivunen
2023-08-29 10:49:25 +03:00
parent 87ecb2e6ca
commit 5c343af807

View File

@@ -599,6 +599,7 @@ impl LayerInner {
)
}
/// Nag or fail per RequestContext policy
fn check_expected_download(&self, ctx: &RequestContext) -> Result<(), DownloadError> {
use crate::context::DownloadBehavior::*;
let b = ctx.download_behavior();