Skip to content

Commit f485d69

Browse files
few doc fixes
1 parent 2360b2f commit f485d69

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

src/esvalue.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1001,10 +1001,6 @@ impl Drop for EsPromiseResolvableHandleInner {
10011001
}
10021002

10031003
/// used to create a new Function
1004-
/// # Example
1005-
/// ```rust
1006-
///
1007-
/// ```
10081004
#[allow(clippy::type_complexity)]
10091005
pub struct EsFunction {
10101006
// todo rebuild this to an Option which we'll move into the worker thread on to_js_val

src/facades.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ impl QuickjsRuntimeFacadeInner {
165165
}
166166

167167
/// EsRuntime is the main public struct representing a JavaScript runtime.
168-
/// You can construct a new EsRuntime by using the [EsRuntimeBuilder] struct
168+
/// You can construct a new QuickJsRuntime by using the [QuickJsRuntimeBuilder] struct
169169
/// # Example
170170
/// ```rust
171171
/// use quickjs_runtime::builder::QuickJsRuntimeBuilder;
@@ -452,7 +452,7 @@ impl QuickJsRuntimeFacade {
452452
}
453453

454454
/// call a function in the engine asynchronously
455-
/// N.B. func_name is not a &str because of https://github.com/rust-lang/rust/issues/56238 (i think)
455+
/// N.B. func_name is not a &str because of <https://github.com/rust-lang/rust/issues/56238> (i think)
456456
/// # example
457457
/// ```rust
458458
/// use quickjs_runtime::builder::QuickJsRuntimeBuilder;

0 commit comments

Comments
 (0)