mirror of
https://github.com/denoland/deno.git
synced 2024-11-25 15:29:32 -05:00
docs(cli): fix return type in comment (#9248)
This commit is contained in:
parent
66e99d349b
commit
cf688cb408
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ pub const MAGIC_TRAILER: &[u8; 8] = b"d3n0l4nd";
|
||||||
/// - a u64 pointer to JSON metadata (serialized flags) embedded in the binary
|
/// - a u64 pointer to JSON metadata (serialized flags) embedded in the binary
|
||||||
/// These are dereferenced, and the bundle is executed under the configuration
|
/// These are dereferenced, and the bundle is executed under the configuration
|
||||||
/// specified by the metadata. If no magic trailer is present, this function
|
/// specified by the metadata. If no magic trailer is present, this function
|
||||||
/// exits with `Ok(())`.
|
/// exits with `Ok(None)`.
|
||||||
pub fn extract_standalone(
|
pub fn extract_standalone(
|
||||||
args: Vec<String>,
|
args: Vec<String>,
|
||||||
) -> Result<Option<(Metadata, String)>, AnyError> {
|
) -> Result<Option<(Metadata, String)>, AnyError> {
|
||||||
|
|
Loading…
Reference in a new issue