Skip to content
This repository has been archived by the owner on Mar 22, 2021. It is now read-only.

Add length check of the string #48

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

NanXiao
Copy link

@NanXiao NanXiao commented Nov 21, 2013

No description provided.

fmt.Printf("Before: %s\n", s);
fmt.Printf("After : %s\n", string(r))
}
package main
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Strange diff, that seems to replace the entire file?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very sorry for it. Maybe this is caused by my editor setting, and I will check it carefully before committing code next time.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants