Commit 6104bb8b authored by disksing's avatar disksing

update wrong comment.

parent 07d44ea8
...@@ -583,7 +583,7 @@ impl DB { ...@@ -583,7 +583,7 @@ impl DB {
self.cfs.get(name) self.cfs.get(name)
} }
/// get all column family names, without 'default'. /// get all column family names, including 'default'.
pub fn cf_names(&self) -> Vec<&str> { pub fn cf_names(&self) -> Vec<&str> {
self.cfs.iter().map(|(k, _)| k.as_str()).collect() self.cfs.iter().map(|(k, _)| k.as_str()).collect()
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment