2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-27 12:42:49 +00:00

debug: fix typos

This commit is contained in:
Alexander Neumann 2015-04-09 22:34:25 +02:00
parent 4f4f3c421a
commit 8e8f31d3fe

View File

@ -148,7 +148,7 @@ func Log(tag string, f string, args ...interface{}) {
}
}
// Break stopts the program if the debug tag is active and the string in tag is
// Break stops the program if the debug tag is active and the string in tag is
// contained in the DEBUG_BREAK environment variable.
func Break(tag string) {
// check if breaking is enabled
@ -169,7 +169,7 @@ func Break(tag string) {
}
}
// BreakIf stopts the program if the debug tag is active and the string in tag
// BreakIf stops the program if the debug tag is active and the string in tag
// is contained in the DEBUG_BREAK environment variable and the return value of
// fn is true.
func BreakIf(tag string, fn func() bool) {