We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9818a9 commit 8dcb33eCopy full SHA for 8dcb33e
book/B-embedding-git/sections/libgit2.asc
@@ -67,7 +67,7 @@ tree = commit.tree
67
68
你可以发现,代码看起来更加清晰了。
69
首先, Rugged 使用异常机制,它可以抛出类似于 `ConfigError` 或者 `ObjectError` 之类的东西来告知错误的情况。
70
-其次,不需要明确的资源释放,因为 Ruby 是支持垃圾回收的。
+其次,不需要明确资源释放,因为 Ruby 是支持垃圾回收的。
71
我们来看一个稍微复杂一点的例子:从头开始制作一个提交。
72
73
[source,ruby]
0 commit comments