mirror of
https://github.com/storytold/egui.git
synced 2026-11-23 02:52:15 +01:00
remove unnecessary to_string in docs (#1345)
This commit is contained in:
1 parent
cd555e07b8
commit
c19a7ff34f
1 file changed
+1
-1
@@ -328,7 +328,7 @@ impl Plot {
|
||||
/// Plot::new("my_plot").view_aspect(2.0)
|
||||
/// .label_formatter(|name, value| {
|
||||
/// if !name.is_empty() {
|
||||
/// format!("{}: {:.*}%", name, 1, value.y).to_string()
|
||||
/// format!("{}: {:.*}%", name, 1, value.y)
|
||||
/// } else {
|
||||
/// "".to_string()
|
||||
/// }
|
||||
|
||||
Reference in new issue
Block a user