This is an automated email from the ASF dual-hosted git repository.

suyanhanx pushed a commit to branch dropbox-range-read
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git

commit 02aea9540b1ddd18baa41500159b2b5b70e1b120
Author: suyanhanx <[email protected]>
AuthorDate: Tue Aug 15 09:39:23 2023 +0800

    fix core debug display
    
    Signed-off-by: suyanhanx <[email protected]>
---
 core/src/services/dropbox/core.rs | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/core/src/services/dropbox/core.rs 
b/core/src/services/dropbox/core.rs
index 3e5c6590a..cb8d9769e 100644
--- a/core/src/services/dropbox/core.rs
+++ b/core/src/services/dropbox/core.rs
@@ -58,8 +58,9 @@ pub struct DropboxCore {
 
 impl Debug for DropboxCore {
     fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
-        let mut de = f.debug_struct("DropboxCore");
-        de.finish()
+        f.debug_struct("DropboxCore")
+            .field("root", &self.root)
+            .finish()
     }
 }
 

Reply via email to