1
0
Fork 0
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:
akfm 2021-01-25 15:14:25 +09:00 committed by GitHub
parent 66e99d349b
commit cf688cb408
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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> {