We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Steps to reproduce:
use kdl::{KdlIdentifier, KdlNode}; use std::fmt::Display; // <----- here! fn main() { let mut section_node = KdlNode::new(KdlIdentifier::from("words")); section_node.fmt(); }
Error message:
error[E0061]: this function takes 1 argument but 0 arguments were supplied --> crates/core/src/config.rs:266:22 | 266 | section_node.fmt(); | ^^^- supplied 0 arguments | | | expected 1 argument | note: associated function defined here --> /home/dimitri/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/fmt/mod.rs:772:8 | 772 | fn fmt(&self, f: &mut Formatter<'_>) -> Result; | ^^^
I think it would be best to rename fmt to auto_format or something like this
fmt
auto_format
The text was updated successfully, but these errors were encountered:
this is fixed because the method is now called "autoformat"
Sorry, something went wrong.
No branches or pull requests
Steps to reproduce:
Error message:
I think it would be best to rename
fmt
toauto_format
or something like thisThe text was updated successfully, but these errors were encountered: