Skip to content
This repository was archived by the owner on Mar 4, 2024. It is now read-only.

Commit f5e0161

Browse files
Fix clone macro docs (#396)
* Fix clone macro docs It referenced a "run_fail" attribute, which does not seem to exist. Co-authored-by: Guillaume Gomez <[email protected]>
1 parent b945350 commit f5e0161

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

glib-macros/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ use syn::{parse_macro_input, DeriveInput, LitStr};
136136
///
137137
/// Or by using `@default-panic` (if the value fails to get upgraded, it'll panic):
138138
///
139-
/// ```run_fail
139+
/// ```should_panic
140140
/// # use glib_macros::clone;
141141
/// # use std::rc::Rc;
142142
/// # let v = Rc::new(1);

0 commit comments

Comments
 (0)