You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
warning: function is never used: `foo`, #[warn(dead_code)] on by default
--> <anon>:1:1
|
1 | fn foo() { println!("foo"); }
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: function is never used: `bar`, #[warn(dead_code)] on by default
--> <anon>:3:1
|
3 | fn bar() {
| ^
If the function is only one row, the whole function can be highlighted, but if the funcion consists of multiple lines, only the first character (the f from fn) is highlighted.
The text was updated successfully, but these errors were encountered:
Sample code:
Output:
If the function is only one row, the whole function can be highlighted, but if the funcion consists of multiple lines, only the first character (the f from fn) is highlighted.
The text was updated successfully, but these errors were encountered: