1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//! A try_format! macro replacing format!
use FallibleVec;
use crateTryReserveError;
use ;
use String;
/// Take a max capacity a try allocating a string with it.
///
/// # Warning:
///
/// the max capacity must be > to the formating of the
/// arguments. If writing the argument on the string exceed the
/// capacity, no error is return and an allocation can occurs which
/// can lead to a panic
/// Take a max capacity a try allocating a string with it.
///
/// # Warning:
///
/// the max capacity must be > to the formating of the
/// arguments. If writing the argument on the string exceed the
/// capacity, no error is return and an allocation can occurs which
/// can lead to a panic