chore: fix docstring for Manifest/allowed_paths (#531)

This commit is contained in:
Thomas Darimont
2023-10-25 00:48:40 +02:00
committed by GitHub
parent abb31ee7de
commit dba0b67cd3

View File

@@ -213,7 +213,7 @@ pub struct Manifest {
pub allowed_hosts: Option<Vec<String>>,
/// Specifies which paths should be made available on disk when using WASI. This is a mapping from
/// this is a mapping from the path on disk to the path it should be available inside the plugin.
/// the path on disk to the path it should be available inside the plugin.
/// For example, `".": "/tmp"` would mount the current directory as `/tmp` inside the module
#[serde(default)]
pub allowed_paths: Option<BTreeMap<PathBuf, PathBuf>>,