mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
[PR #121] [MERGED] Cleanup #317
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/bootandy/dust/pull/121
Author: @baile320
Created: 10/5/2020
Status: ✅ Merged
Merged: 10/22/2020
Merged by: @bootandy
Base:
master← Head:cleanup📝 Commits (8)
534f650remove unneeded identity .map()459d386remove redunant field name in structbb9a5a6impl num_siblings for Nodeca266cfreplace nested if w/ match in get_tree_charsba1e775remove unneeded field name in struct4077702remove redundant println! & logic in display_node2354b7cmake get_children_from_node a Node methodba73a6fRevert "remove redundant println! & logic in display_node"📊 Changes
2 files changed (+34 additions, -39 deletions)
View changed files
📝
src/display.rs(+17 -38)📝
src/utils/mod.rs(+17 -1)📄 Description
Hi, I'm practicing Rust and just wondering if you'd be interested in a PR with some cleanup changes? I was just reading through the code and noticed some things that might make things more readable or idiomatic, so I thought I would throw a PR out there.
There might be more stuff I can find (or go further w/ the few changes I made already - probably there are better ways to do some of them) but I wanted to see if you're interested in accepting this type of PR before I investigate further. Thanks :)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.