File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ impl Error {
5454 /// Calling Node.js function `crypto.randomFillSync` failed.
5555 pub const NODE_RANDOM_FILL_SYNC : Error = internal_error ( 13 ) ;
5656 /// Called from an ES module on Node.js. This is unsupported, see:
57- /// https://docs.rs/getrandom#nodejs-es6 -module-support.
57+ /// < https://docs.rs/getrandom#nodejs-es -module-support> .
5858 pub const NODE_ES_MODULE : Error = internal_error ( 14 ) ;
5959
6060 /// Codes below this point represent OS Errors (i.e. positive i32 values).
@@ -173,7 +173,7 @@ fn internal_desc(error: Error) -> Option<&'static str> {
173173 Error :: VXWORKS_RAND_SECURE => Some ( "randSecure: VxWorks RNG module is not initialized" ) ,
174174 Error :: NODE_CRYPTO => Some ( "Node.js crypto CommonJS module is unavailable" ) ,
175175 Error :: NODE_RANDOM_FILL_SYNC => Some ( "Calling Node.js API crypto.randomFillSync failed" ) ,
176- Error :: NODE_ES_MODULE => Some ( "Node.js ES modules are not directly supported, see https://docs.rs/getrandom#nodejs-es6 -module-support" ) ,
176+ Error :: NODE_ES_MODULE => Some ( "Node.js ES modules are not directly supported, see https://docs.rs/getrandom#nodejs-es -module-support" ) ,
177177 _ => None ,
178178 }
179179}
You can’t perform that action at this time.
0 commit comments