We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6b1c1f commit 8670a7cCopy full SHA for 8670a7c
1 file changed
src/lib.rs
@@ -765,7 +765,7 @@ impl FormatSpec {
765
}
766
767
768
-#[derive(Debug)]
+#[derive(Debug, Clone)]
769
struct Format {
770
start: usize,
771
end: usize,
@@ -856,7 +856,7 @@ impl Format {
856
/// let fmt_str = fmt.to_string_lossy();
857
/// let owned_str = fmt.into_string();
858
/// ```
859
860
pub struct FormatString {
861
s: String,
862
fmts: Vec<Format>,
0 commit comments